Elefrant Util
Install
$ npm install --save elefrant-util
Usage
Elefrant utils come with a bunch of basic libraries.
var util = ; // Glob functionsvar glob = utilglob; // Lodash functionsvar _ = utillodash; // Chalk functionsvar chalk = utilchalk; // Format functionsvar format = utilformat; // Async functionsvar async = utilasync;
Be free to add new or extend libraries.
util.format
format: Underscore.String functions
And, added new:
Filename
Extract the name from a file name.
utilformatfilename'util.js';// Result: 'util'
Downlize
Get the value with a lower Case first character..
utilformat;// Result: 'elefrantUtils'
License
MIT © Elefrant