@ilihub/number-system
TypeScript icon, indicating that this package has built-in type declarations

1.0.8 • Public • Published

@ilihub/number-system

A collection of useful TypeScript functions to perform number system conversions.

NPM Version NPM CodeFactor Socket Badge

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


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.

Sponsors


Package Sidebar

Install

npm i @ilihub/number-system

Weekly Downloads

1

Version

1.0.8

License

MIT

Unpacked Size

15.8 kB

Total Files

5

Last publish

Collaborators

  • harshraj8843