Tag: npm

Writing your first Node.js module

This isn't meant to be an exhaustive guide on how to write an NPM module. This guide is meant to be a simple working example where you can see a basic working module and easily adapt this to create your own module. You can see the basic structure is

authorStats - Get your NPM package download statistics in an easy to read command line table

authorStats fetches your daily/weekly/monthly download stats for all your authored NPM packages and outputs a nice table right in your command line. Installation It's best to install the package globally: npm install author-stats -g Usage authorStats