@ilihub/number-system
A collection of useful TypeScript functions to perform number system conversions.
Installation
# if you're using pnpm
pnpm add @ilihub/number-system
# or, if you're using npm
npm install @ilihub/number-system
# or, if you're using yarn
yarn add @ilihub/number-system
Usage
import { AsciiToBinary } from "@ilihub/number-system";
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
Available Functions and Classes
- Ascii
- Binary
- Decimal
- Hexadecimal
- Octal
Sponsors & Backers
Support the development of new open-source projects from ilihub through crowdfunding.
The core of ilihub is our crowd-funded open-source projects, licensed under the permissive MIT license. Sponsorship increases the rate of bug fixes, documentation improvements, and feature development.