0.0.1 • Published 14 years ago

zipwith v0.0.1

Weekly downloads
9
License
-
Repository
github
Last release
14 years ago

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/.

0.0.1

14 years ago