Open scottwrobinson opened 9 years ago
Now that node v4.1.1
has class
in it without any flags, it's a good time to talk about this module but
there are loads of people against this syntax sugar.
Will definitely add this to the pipeline :+1:
P.S: As you might have already noticed that each post will have a tiny gif, read through your posts the code snippets are very large for a gif, looking for a smaller example.
I'd like to suggest camo, which is a class-based ES6 ODM for Mongo-like databases. It works with both MongoDB and NeDB as a backend, uses ES6 classes and promises, and supports really simple model inheritance. I'd like to think of it as a good ES6 alternative to Mongoose.
Here is a short tutorial I wrote about it. Let me know what you think.
Thanks!