A Node.js port of Haskell's zipWith function
JavaScript Shell Ruby
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
hooks
lib
test
.editorconfig
.eslintignore
.eslintrc
.gitignore
.jshintignore
.jshintrc
.jslintrc
.node-version
.npmignore
.ruby-version
Gemfile
Gruntfile.js
Guardfile-lint
README.md
package.json
sample.envrc

README.md

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