MachineRegistry.listMachinepacks()

List machinepacks in the registry.

Usage

Hover over inputs/exits for more info.

var MachineRegistry = require('machinepack-registry');


// List machinepacks in the registry.

MachineRegistry.listMachinepacks({

registry: 'http://node-machine.org',

}).exec({

// An unexpected error occurred.

error: function (err) {

 

},

// OK.

success: function (result) {

 

},

});

Inputs

registry

The base URL of the machine registry to use (defaults to the public registry at http://node-machine.org)

'http://node-machine.org'

Exits

error

An unexpected error occurred.

success

OK.

[ { identity: 'machinepack-whatever',
    friendlyName: 'Whatever (you know)',
    variableName: 'Whatever',
    description: 'Node.js utilities for working with whatever.',
    version: '0.5.17',
    numMachines: 8 } ]