We are trying to wrap this library and add extra functionality in an internal library.
The goal is to run npm-shrinkwrap, and once itd complete, add our extra sugar.
However, I couldn't get it to work
code:
var npmShrinkwrap = require('npm-shrinkwrap');
npmShrinkwrap({dev: true}, function (err, optionalWarnings) {
console.log('ok');
});
Any help will be highly appreciated!
My environment:
- Mac OS X Yosemite
- node v5.6.0
- npm v3.8.9