1.3.0 • Published 4 years ago
b2tconverter v1.3.0
b2tconverter
b2tconverter is a nodejs package to convert binary to text and text to binary with just one line of code.
Installation
npm i b2tconverter --save
Usage
Convert with just one line of code
- Convert passwords to binary and then store them in the database to enhance security
- Create your own binary converter easily
Binary to text conversion:
var binary = require('b2tconverter');
console.log(binary.binary("A"));
Text to binary conversion:
var text = require('b2tconverter');
console.log(text.text("01011010"));
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.