1.2.0 • Published 3 years ago

text-to-binary1 v1.2.0

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

text-to-binary

Text to binary is a node.js package to convert text to binary. Along with text, this tool also returns the correct answer for numbers and special characters. For one of my recent projects, I had to develop a text to binary converter. I found it difficult to understand and code such an unusual demand for the client. For that reason, I decided to develop an npm for text to binary conversion.

Installation

npm i text-to-binary --save

Usage

Install and import the text to a binary package, save the text that you want to convert, and call text to binary function for conversion.

  • This is a node.js package that lets you convert from text to binary with just one line of code. Get special characters and numbers converted into binary.

Convert text to binary:

var text = require('text-to-binary1')
let a = "A";
text.texttobinary(a);