NPM NOW WORKS IN WINDOWS IGNORE THIS POST…

NPM NOW WORKS IN WINDOWS – IGNORE THIS POST

Windows is missing the NPM (Node Package Manager) – so the easiest way I have found to manually install a node package, is to create a ‘node_modules’ folder, in the same location as your .js file, and copy in the package’s javascript file (normally located in the lib folder).

You can then include you package in the normal way:

var package = require('package');
Advertisements