1.0.0 • Published 9 years ago

hoppel-builtins-count v1.0.0

Weekly downloads
-
License
ISC
Repository
-
Last release
9 years ago

Hoppel Builtin Reducer: Count Build Status

Implements the "CouchDB Reducer Protocol" by counting the emitted items.

Install

$ npm install --save hoppel-builtins-count

Usage

var count = require('hoppel-builtins-count');

count(['a', 'b'], ['x', 'y'], false); // 2

count(null, [2, 3], true); // 5

Related

License

ISC (C) Jonas Weber

1.0.0

9 years ago