1.0.1 • Published 5 years ago

bubble-babble-ts v1.0.1

Weekly downloads
-
License
MIT
Repository
-
Last release
5 years ago

Bubble-Babble TypeScript Library

This is based on this, but it's in TypeScript.

Building

To build for NodeJS, run tsc. (You must have the TypeScript compiler installed.)

To build for the web, run npm install to install the development dependencies, and run webpack --config ./build/webpack.config.js.

All output will be in ./dist. bubblebabble.js is the NodeJS library, and bubblebabble.min.js will be the web library.

Usage

There are two functions, having these signatures:

export declare function encode(input: Uint8Array): string;
export declare function decode(input: string): Uint8Array;

They pretty much speak for themselves.

If you are using the web library, these functions will be accessible in the bubblebabble object.

Contact Me

If you would like to suggest fixes or improvements on this library, please just leave an issue on this GitHub page. If you would like to contact me for other reasons, please email me at jonathan@wilbur.space (My GPG Key) (My TLS Certificate). :boar: