@safeandreliable/utilities
v1.3.1
Published
Common utilities
Downloads
441
Readme
@safeandreliable/utilities
Contains utility functions used across Safe and Reliable
Install
$ npm install @safeandreliable/utilities
Usage
const utilities = require("@safeandreliable/utilities");
utilities.log("So much space!");
//=> "So much space!"
utilities.printCallStack();
//=> PRINTING CALL STACK
// Error
// at Object.exports.printCallStack (modules.js?hash=d90ec0f2535d5d866fbb0bd8167e1d5191c9d59a:11861)
// at <anonymous>:1:4
utilities.get(['public', 'accounts', 'passwords', 'tokenExpirationInDays'], {public:{accounts:{passwords:{tokenExpirationInDays:1}}}});
//=>1