Util.inspect()

Pretty-print any value into a more-readable string.

Usage

Hover over inputs/exits for more info.

var Util = require('machinepack-util');


// Pretty-print any value into a more-readable string.

Util.inspect({

value: '===',

}).execSync();

Inputs

value

The value that will be formatted into a more-readable string.

'==='

Exits

error

An unexpected error occurred.

success

OK.

"...[{'foo': ['bar']}]..."