UNPKG

stream-batch

Version:

Group items into batches, defined by size or time.

51 lines (50 loc) 1.77 kB
{ "name": "stream-batch", "version": "1.0.0", "author": "Hans Donner <hans.donner@pobox.com>", "license": "MIT", "description": "Group items into batches, defined by size or time.", "keywords": [ "stream","streams", "batch","batches", "debounce", "chunk" ], "homepage": "https://github.com/hans-d/node-stream-batch", "bugs": "https://github.com/hans-d/node-stream-batch/issues", "repository": { "type": "git", "url": "https://github.com/hans-d/node-stream-batch.git" }, "main": "dist/index.js", "dependencies": { "through2": "^0.6.3" }, "config": { "blanket": { "pattern": "./src", "loader": "./node-loaders/coffee-script" } }, "scripts": { "test": "mocha --recursive --compilers coffee:coffee-script/register test/*", "test:watch": "mocha --watch --recursive --compilers coffee:coffee-script/register test/*", "test:cov": "mocha --require blanket --recursive --compilers coffee:coffee-script/register --reporter mocha-text-cov test/*", "test:cov:nice": "mocha --require blanket --recursive --compilers coffee:coffee-script/register --reporter html-cov test/*> coverage.html", "build": "coffee --bare --no-header --compile --map --output dist src/index.litcoffee", "build:clean": "npm run clean && npm run build", "clean": "rm -rf dist", "prepublish": "npm run clean && npm run build", "fix:perm": "npm run fix:chgrp && npm run fix:chmod", "fix:chgrp": "chgrp -R $(ls -l Dockerfile | awk '{ print $4 }') *", "fix:chmod": "chmod -R g+rw *" }, "devDependencies": { "blanket": "^1.1.6", "chai": "^2.1.1", "coffee-script": "^1.9.1", "mocha": "^2.1.0", "mocha-text-cov": "^0.1.0", "stream-assert": "^2.0.2" } }