1.1.1 • Published 3 years ago

bintotext v1.1.1

Weekly downloads
-
License
ISC
Repository
github
Last release
3 years ago

bintotext

bintotext is a simple Node module for converting binary to ASCII.

Installation

npm i bintotext or npm i bintotext -g

Examples

Node

require("bintotext");
const binary = [ "01001000", "01100101", "01101100", "01101100", "01101111", "00100000", "01010111", "01101111", "01110010", "01101100", "01100100", "00101110", "00101110", "00101110", "00100001" ];

String.fromBinary(binary);

// Result: Hello World...!
const bintotext = require("bintotext");
const binary = [ "01001000", "01100101", "01101100", "01101100", "01101111", "00100000", "01010111", "01101111", "01110010", "01101100", "01100100", "00101110", "00101110", "00101110", "00100001" ];

bintotext(binary);

// Result: Hello World...!
const bintotext = require("bintotext");
const binary = [ "01001000", "01100101", "01101100", "01101100", "01101111", "00100000", "01010111", "01101111", "01110010", "01101100", "01100100", "00101110", "00101110", "00101110", "00100001" ];

bintotext.binaryToText(binary);

// Result: Hello World...!

CLI

bin-to-str 01001000 01100101 01101100 01101100 01101111 00100000 01010111 01101111 01110010 01101100 01100100 00101110 00101110 00101110 00100001

Result: Hello World...!

1.1.1

3 years ago

1.1.0

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago