dingleberry

0.0.1 • Public • Published

dingleberry Build Status

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

Readme

Keywords

Package Sidebar

Install

npm i dingleberry

Weekly Downloads

0

Version

0.0.1

License

MIT

Last publish

Collaborators

  • preston