npm.io
0.5.2 • Published 11 years ago

funcdash

Licence
MIT
Version
0.5.2
Deps
1
Vulns
0
Weekly
0
Stars
3

MIT npm

funcdash

Lodash mixins to fill some common functional programming gaps.

Usage

With LoDash

$ npm install lodash funcdash

Using LoDash's _.mixin method.

var _ = require('lodash').runInContext();
_.mixin(require('funcdash'));
With LoDash-fp
$ npm install lodash-fp funcdash

Using LoDash's _.mixin method.

var _ = require('lodash-fp').runInContext();
_.mixin(require('funcdash/curried'));

Docs

Read the documentation.

Function

_.apply _.call _.mapInvoke

Logic

_.and _.ifElse _.or _.not

Math

_.multiply _.product

Keywords