Skip to content
This repository was archived by the owner on Sep 28, 2024. It is now read-only.

Repository files navigation

Elefrant Util

wercker status

Dependency Status

Install

$ npm install --save elefrant-util

Usage

Elefrant utils come with a bunch of basic libraries.

varutil=require('elefrant-util');// Glob functionsvarglob=util.glob;// Lodash functionsvar_=util.lodash;// Chalk functionsvarchalk=util.chalk;// Format functionsvarformat=util.format;// Async functionsvarasync=util.async;

Be free to add new or extend libraries.

format: util.format

Underscore.String functions

And, added new:

Filename

Extract the name from a file name.

util.format.filename('util.js');// Result: 'util'

Downlize

Get the value with a lower Case first character..

util.format.downlize('ElefrantUtils');// Result: 'elefrantUtils'

License

MIT © Elefrant

About

Utils functions for Elefrant Framework

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages