A simple Block Check Character Library. This library provides its own TypeScript type definitions.
string[]
, number[]
and Buffer
number[]
string[]
You can install node-bcc
using npm
.
npm install --save node-bcc
For the full (generated) documentation go to the Documentation
import { Bcc } from 'node-bcc';
console.log(Bcc.calculate(['A4', '37', 'F6', 'F8', 'CD']));
// 80
import { Hex } from 'node-bcc';
console.log(Hex.split('AABBCC'));
// [AA,BB,CC]
import { Ascii } from 'node-bcc';
console.log(Ascii.asciiToByteArray('AABBCC'));
// [65, 66, 67]
Generated using TypeDoc