binary-translator-core
v1.0.0
Published
Client-side binary-to-text and text-to-binary conversion utilities. Zero dependencies.
Maintainers
Readme
binary-translator-core
Zero-dependency JavaScript utilities for binary-to-text and text-to-binary conversion. Powers bintranslate.com.
Install
npm install binary-translator-coreUsage
const { binaryToText, textToBinary, autoDetect } = require('binary-translator-core');
binaryToText('01001000 01101001'); // "Hi"
textToBinary('Hi'); // "01001000 01101001"
autoDetect('01001000 01101001'); // "binary"
autoDetect('Hello'); // "text"Features
- Supports space-separated and continuous binary strings
- Extended ASCII (0-255) support
- Auto-detection of input type
- Zero dependencies, works in Node.js and browsers
Try Online
bintranslate.com — Free binary translator with 5 conversion modes, no signup.
License
MIT
