Mlang.meta()

Extract Meta Data from program

This example machine is part of machinepack-boilerplate, used to introduce everyone to machines.

Usage

Hover over inputs/exits for more info.

var Mlang = require('machinepack-mlang');


// Extract Meta Data from program

Mlang.meta({

program: {},

}).exec({

// An unexpected error occurred.

error: function (err) {

 

},

// OK.

success: function (result) {

 

},

});

Inputs

program required

The name of the person that will be sent the hello message.

{}

Exits

error

An unexpected error occurred.

success

OK.

{ dependencies: [ 'GitHub', 'Arrays' ],
  methods: [ 'Github.listRepos', 'Arrays.length' ],
  variables: { username: 'Glavin001' } }