Tuesday 14 March 2017

How to use npm-check

I have been playing around with node.js and learning by playing with the Spotify API.

Spotify provided example source code which I have been building off but now I want to make my own thing.

There are many modules in node_module for use for their different examples and I obviously don't want any packages I am not using being hosted on my Git so I looking into my options and came across npm-check (https://www.npmjs.com/package/npm-check)

I did

npm install npm-check 

and it was successful

I then try to run the npm-check command in the folder my app.js is contained in like so

npm-check

I then get an error saying it is not a recognized command.

what am I missing?



via TonyO

No comments:

Post a Comment