NPM.openSource()

Open up public access to a package published on NPM.

Usage

Hover over inputs/exits for more info.

var NPM = require('machinepack-npm');


// Open up public access to a package published on NPM.

NPM.openSource({

packageName: '@mattmueller/cheerio',

}).exec({

// An unexpected error occurred.

error: function (err) {

 

},

// OK.

success: function () {

 

},

});

Inputs

packageName required

The name of the NPM package to open-source.

'@mattmueller/cheerio'

Exits

error

An unexpected error occurred.

success

OK.