0.0.1 • Published 2 years ago

tobito v0.0.1

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

Usage

// CLI
npm install tobito

// yourFile.js
const tobito = require('tobito)

let yourBinary = tobito('Some random text.')
console.log(yourBinary)

--v
[
'1010011', '1101111',
'1101101', '1100101',
'100000',  '1110010',
'1100001', '1101110',
'1100100', '1101111',
'1101101', '100000',
'1110100', '1100101',
'1111000', '1110100',
'101110'
]

yourBinary = tobito(125)
console.log(yourBinary)

--> 1111101

Converts strings and numbers to their binary equivalent. Custom types return -1.

I don't know how useful this is except to show an example of the language computers speak.

0.0.1

2 years ago

1.2.0

2 years ago

1.1.0

2 years ago

1.0.0

2 years ago