@codinasion/binary
v1.0.2
Published
A collection of useful TypeScript functions and utilities for converting binary to other number systems.
Downloads
3
Maintainers
Readme
@codinasion/binary
A collection of useful TypeScript functions and utilities for converting binary to other number systems.
Installation
# if you're using pnpm
pnpm add @codinasion/binary
# or, if you're using npm
npm install @codinasion/binary
# or, if you're using yarn
yarn add @codinasion/binary
Usage
import { BinaryToDecimal } from "@codinasion/binary";
const binary = "10000000";
const decimal = BinaryToDecimal(binary);
console.log(decimal);
// Output
// 128