Introducing
The Slant team built an AI & it’s awesome
Find the best product instantly
Add to Chrome
Add to Edge
Add to Firefox
Add to Opera
Add to Brave
Add to Safari
Try it now
4.7 star rating
0
Linux
Open Source
Web
What are the best node js libraries?
3
Options
Considered
14
User
Recs.
Jan 17, 2022
Last
Updated
Related Questions
Activity
Have feedback or ideas?
Join our community
on Discord
Ad
2
Options
Considered
Best node js libraries
Price
Repository
Platforms
--
Express
-
-
-
--
Sails.js
-
https://github.com/balderdashy/sails
-
See Full List
--
Express
My Rec
ommendation
for
Express
My Recommendation for
Express
All
4
Experiences
1
Pros
2
Cons
1
Top
Pro
•••
Takes care of routing
See More
Top
Con
•••
Doesn't offer much functionality
See More
CredibleThoas's Experience
A simple, lightweight framework, that's basically the golden standard for Node.js applications. It doesn't offer a whole lot out of the box, but what it does it does well, and it's never given me any cause to complain, in 6 years of working with it.
See More
Top
Pro
•••
Provides choice
Being an extremely lightweight and unopinionated framework, it can be integrated with just about anything. Especially since anyone building anything for Node makes sure it can work well with Express.
See More
Hide
See All
Get it
here
Recommend
7
--
Sails.js
My Rec
ommendation
for
Sails.js
My Recommendation for
Sails.js
All
9
Experiences
1
Pros
4
Cons
3
Specs
Top
Pro
•••
So easy to deploy and lift
For a small pet project or proof of concept, getting a working backend mostly following best practices without having to write any boilerplate can be a big win, especially for less experienced developers.
See More
Top
Con
•••
Heavyweight framework with lots of "magic"
While having a lot of features out of the box is great for a small proof of concept, it becomes hugely detrimental in any long-term, production-grade project. One of the major strengths of the Node ecosystem is the ability to pick and choose the tools you need, and Sails forces a ridiculous amount of cruft on developers. The many features the rely on convention also mean a steep learning curve and surprising behaviours that can be difficult to track down.
See More
CredibleThoas's Experience
After 6 years of Node development using primarily Express, switching to Sails was an awful experience. Perhaps the biggest issue is that Waterline can't really be called an ORM, as it limits itself to ODM capabilities, without any real relation support. This means having to choose between constant reliance on raw queries or making countless queries and processing in JS, which leads to either awful performance or truly hard-to-maintain code Further, the "convention over configuration" approach expresses itself as a ton of voodoo and unexpected behaviours, documentation isn't great, performance is overall poor, it's extremely heavyweight, and just feels like a constant struggle with a poor, outdated framework that no-one should be using in 2020.
See More
Specs
Repository:
https://github.com/balderdashy/sails
Top
Pro
•••
JSON API generated for free
Exposes public JSON API for free. No additional routing to be defined. Makes it pretty easy to access data from anywhere.
See More
Top
Con
•••
Poorly supported
As a framework that's seen its heyday several years ago, support for Sails nowadays isn't great, new features rarely come out, and issues aren't often resolved.
See More
Top
Pro
•••
ORM that can be plugged into any database, or even custom web service
Sails.js uses Waterline ORM at its backend which means you can store your data in any datastore that you like; all you have to do is make a change to the Waterline adapter, this will allow you to store your data in MySQL/Redis or any other kind of database.
See More
Top
Con
•••
Poor ORM
The built-in Waterline is not well designed and is not suitable for production environments. Populating more than 1 level deep is a nightmare, there is no transaction support, new features/bug fixes are not implemented anywhere near a timely manner (the most requested feature 'deep populate' has been lingering in their github issues list for over a year and a half now).
See More
Top
Pro
•••
MVC architecture
This could be a huge plus, if you prefer to build your apps using the Model View Controller architecture. Using Sails.js you'll find the task of separating the business logic from the user interface and keeping the interactions between them in a separate layer, extremely easy.
See More
Hide
See All
Get it
here
Recommend
5
1
Don't see your favorite option? Add it.
--
Express.js
My Rec
ommendation
for
Express.js
My Recommendation for
Express.js
Get it
here
Recommend
1
See flagged products
Hide flagged products
Built By the Slant team
Find the best product instantly.
4.7 star rating
Add to Chrome
Add to Edge
Add to Firefox
Add to Opera
Add to Brave
Add to Safari
Try it now - it's free
One sec!
Are you sure that you want to abandon your hard work?
Delete Work
Continue working
{}
undefined
url next
price drop