0.3.0 • Published 2 years ago

node-binary-parser v0.3.0

Weekly downloads
12
License
MIT
Repository
github
Last release
2 years ago

Node Binary Parser

Node addon for parsing binary data by rules.

Build Status codecov NPM npm npm

Source

Source code is available from Github

Install

npm

npm i node-binary-parser

yarn

yarn add node-binary-parser

Usage

import { BinaryParser } from 'node-binary-parser';

const parser = new BinaryParser();

parser.parseBits('first', 1);
parser.parseBits('second', 1);

const result = parser.parse(Buffer.from('70')); // result => { first: 0, second: 1 }

Testing

If you create a pull request, tests better pass :)

npm install
npm test

Documentation

Learn more about using node-binary-parsing on docs page

License

MIT

0.3.0

2 years ago

0.2.3

3 years ago

0.1.4

4 years ago

0.1.2

4 years ago

0.1.1

4 years ago

0.1.0

4 years ago

0.0.9

4 years ago

0.0.8

4 years ago

0.0.6

4 years ago