@codinasion/ascii
v1.0.2
Published
A collection of useful TypeScript functions and utilities for converting ASCII to other number systems.
Downloads
4
Maintainers
Readme
@codinasion/ascii
A collection of useful TypeScript functions and utilities for converting ASCII to other number systems.
Installation
# if you're using pnpm
pnpm add @codinasion/ascii
# or, if you're using npm
npm install @codinasion/ascii
# or, if you're using yarn
yarn add @codinasion/ascii
Usage
import { AsciiToBinary } from "@codinasion/ascii";
const ascii = "Hello World";
const binary = AsciiToBinary(ascii);
console.log(binary);
// Output
// 0100 1000 0110 0101 0110 1100 0110 1100 0110 1111 0010
// 0000 0101 0111 0110 1111 0111 0010 0110 1100 0110 0100