0.0.1 • Published 7 years ago

rabinjs v0.0.1

Weekly downloads
1
License
ISC
Repository
-
Last release
7 years ago

rabin

This is a work in progress. I think this currently works, but I need to do a bunch more testing and optimization. If you know more about this than me, PLEASE HELP :)

NPM Version NPM Downloads Build Status js-happiness-style

Install

$ npm install --save rabinjs

Usage

var fs = require('fs');
var rabin = require('rabinjs');

var chunks = [];
fs.createReadStream('rabin.pdf').pipe(rabin())
	.on('data', function (d) {
		chunks.push(d);
	})
	.on('end', function (d) {
		console.log('File processed!');
		console.log('Chunks: ', chunks.length);
	});

Development

The tests can be run with npm test, which also runs the linter and any other builds steps for the module. When a release is ready, use npm to bump the version:

$ npm version minor
$ git push
$ npm publish

Pull requests should be made against master or the currently active development branch.