0.0.1 • Published 9 years ago
dingleberry v0.0.1
dingleberry
collection of fun utility functions
Covers a subset of useful functions from utility libs like underscore, lodash, and async
Why? Mostly as an exercise in learning ES2015. That's p much it.
Install
npm install dingleberry
Usage
var _ = require('dingleberry');
var add1 = function(val) { return val + 1; };
var mult2 = function(val) { return val * 2; };
var add1mult2 = _.pipeline(add1, mult2);
add1mult2(7); // 16
API
- debounce(fn, interval)
- pipeline(fn, fn, ...) (alias compose)
- pluck(list, property)
More coming soon
Build
npm install -g babel
npm install -g uglify-js
npm run build
License
MIT
0.0.1
9 years ago