A promisified wrapper for the NodeJS setTimeout
method.
Converts an array of key value pair arrays into an object with the key value pairs.
Recursively merge properties from different sources into a target object, overriding any existing properties.
the destination object to merge into.
the sources objects to copy from.
Convert a pair's base currency and quote currency to a ticker symbol pair id.
Returns a random payment preimage and hash in hex encoding.
Gets the external IP of the node.
Get all methods from an object whose name doesn't start with an underscore.
Get the current date in the given dateFormat, if not provided formats with YYYY-MM-DD hh:mm:ss.sss
.
Check whether a variable is an empty object
Check whether a variable is a non-array object
A simplified copy of lodash's isPlainObject;
A plain object is;
Examples; isPlainObject(new Foo); => false isPlainObject([1, 2, 3]); => false isPlainObject({ 'x': 0, 'y': 0 }); => true isPlainObject(Object.create(null)); => true
Get current time in unix time (milliseconds).
Generated using TypeDoc
A promisified wrapper for the NodeJS
crypto.randomBytes
method.