Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@ilihub/binary-to-decimal

ilihub23MITdeprecated1.0.7TypeScript support: included

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

Binary to decimal converter TypeScript library

ilihub, code, number system, binary, decimal, binary to decimal, tools, typescript, functions, utils

readme

@ilihub/binary-to-decimal

Binary to decimal converter TypeScript library.

NPM Version NPM CodeFactor Socket Badge

Installation

# if you're using pnpm
pnpm add @ilihub/binary-to-decimal

# or, if you're using npm
npm install @ilihub/binary-to-decimal

# or, if you're using yarn
yarn add @ilihub/binary-to-decimal

Usage

import { BinaryToDecimal } from "@ilihub/binary-to-decimal";

const binary = "10000000";

const decimal = BinaryToDecimal(binary);
console.log(decimal);

// Output
// 128

🛠️ Online Tool ⚡

You can use this npm package as an online tool by clicking on the link provided 👉🏻 here 👈🏻


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