@garypeterson/common-tools
v1.0.2
Published
common coding tools
Downloads
2
Readme
Common Tools
Overview
Common coding tools.
Usage
//Alternative
const prn = require('@garypeterson/common-tools').prn;
//or import 'p' as alias for 'prn'
prn(10);
prn('foo');
prn({w: 10});
prn([10, 20, 30]);
prn(null);
prn(undefined);
//Alternative
const CommonTools = require('@garypeterson/common-tools').CommonTools;
CommonTools.prn({width: 10}):