Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
66 lines (44 sloc) 1.1 KB

zipwith - A Node.js port of Haskell's zipWith function

EXAMPLE

$ node
> var zipwith = require("zipwith");
> zipwith.zipwith(function (a, b) { return a + b; }, [1, 2, 3], [4, 5, 6]);
[ 5, 7, 9 ]
> zipwith.zipwith(function (a, b) { return a * b; }, [1, 2, 3], [4, 5, 6]);
[ 4, 10, 18 ]

HOMEPAGE

https://github.com/mcandre/node-zipwith

NPM

https://www.npmjs.com/package/zipwith

REQUIREMENTS

Optional

DEVELOPMENT

Lint

Keep the code tidy:

$ grunt lint

Spell Check

$ grunt aspelllint
...

Local CI

Guard can automatically lint when the code changes:

$ bundle
$ guard -G Guardfile-lint
...

Git Hooks

See hooks/.