Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll
Well done!
You have completed npm Basics!
You have completed npm Basics!
Preview
In this video, we'll take a look at the different kind of methods you can use to find an npm package or Node.js module.
Choosing a Package
There are a number of indicators that you can use to determine which package to use.
- Popularity on npm – the number of downloads
- Release Date – the more recent the better
- Number of Releases – the more frequent the better
- Passing Tests - if there are tests passing
- Number of Open Issues – the less the better
- Popularity on GitHub – The more Stars, Forks and Watches the better
- Number of Contributors on GitHub – more eyes on the code the better
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign upRelated Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up
of that time we've saved when we're
searching for packages to use.
0:00
With over a million packages available and
0:04
many packages that offer
similar functionality,
0:06
how can developers decide on which
package is right for their project?
0:09
To ensure your projects
will be reliable over time,
0:15
it's best to pick packages
that are also reliable.
0:18
There are a few factors we can look at
that will help us to choose packages that
0:22
are up to date, and well supported.
0:26
One way of finding out more
about a package is its NPM page.
0:29
You need to sign up for Treehouse in order to download course files.
Sign upYou need to sign up for Treehouse in order to set up Workspace
Sign up