Join us on the demo, while our product experts provide a detailed walkthrough of our enterprise platform.
Get LoginRadius Swags in Hacktoberfest 2020. Check our hacktoberfest page for more details.

Node Package Manager (NPM)

What is This, and Why Should I Care? NPM is a package manager for javascript. It is used to share and distribute code amongst the coding community. There are…

Eric Chan
Eric Chan
August 04, 2017
the guide to NPM What is This, and Why Should I Care?

NPM is a package manager for javascript. It is used to share and distribute code amongst the coding community. There are over half a million packages for free developed and shared to help your JavaScript development.

To discover packages click here

How Do I Install NPM?

NPM can easily be installed by going to the node.js website. Just click on the link to download an executable file which will install the package manager for you.

(If you have brew on Mac or Chocolatey on Windows installed, it is even easier just run the command:

[code]brew install npm[/code]


[code]choco install nodejs[/code]

How Do I Install Packages?

Head over here to search for your package. Once you’ve found it, type in your console:

[code]npm install -g[/code]

Since NPM packages are open-source, be wary that some of the packages may not be built correctly. A good way to tell would be viewing the top of the page for any errors.


How Do I Keep My Packages Up-To-Date?

To update the npm packages, simply run:

[code]npm update -g[/code]

This will update all your outdated packages to the latest.

Some Recommended Packages

Detail: Emulates a web-server for client-side testing

Detail: Assists in setting up a REST APIs to test on your local server

Detail: Unit testing for web-development. Very useful in testing “code coverage” (It tells you where your code is not being tested in a nice HTML file)

Detail: For existing customers, simplifies calls to our server for easy customizability

LoginRadius Docs

Implement Authentication in Minutes

click here

Most Popular Tags


About LoginRadius

LoginRadius provides a comprehensive set of APIs to enable authentication, identity verification, single sign-on, user management, and account protection capabilities such as multi-factor authentication on any web or mobile application. The company offers open source SDKs, integrations with over 150 third party applications, pre-designed and customizable login interfaces, and best-in-class data security products. The platform is already loved by over 3,000 businesses with a monthly reach of 1.17 billion users worldwide.

For more information, visit LoginRadius

Eric Chan

Eric Chan

Eric is a Software Engineer at LoginRadius. Born in Hong Kong he immigrated to Vancouver in order to pursue a degree focused in Computer Science at UBC. During his spare time, Eric enjoys playing sports recreationally, as well as developing fun projects! Check out his GitHub here.

View Profile

Try a Modern Authentication Solution

$0/ month

Free Sign Up
  • 5,000 MAU
  • 1 Web or mobile app
  • Standard login
  • 3 Social Login Providers
  • Transactional Email Template
  • Customizable Login Interfaces