LocalMachinepacks.browseToPackUrl()

Usage

Hover over inputs/exits for more info.

var LocalMachinepacks = require('machinepack-localmachinepacks');


LocalMachinepacks.browseToPackUrl({

dir: '/Users/mikermcneil/machinepack-foo/',

toWhat: 'npm',

}).execSync();

Inputs

dir

'/Users/mikermcneil/machinepack-foo/'
toWhat

'npm'

Exits

error

An unexpected error occurred.

notMachinepack
noNpmUrl
noSourceUrl
noGithubUrl
noDocsUrl
noTestsUrl
success

OK.

'http://node-machine.org/machinepack-facebook'