New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@sarmaakondi/binary-to-decimal

Package Overview
Dependencies
Maintainers
0
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sarmaakondi/binary-to-decimal

A simple package to convert a binary string to a decimal number

1.0.0
latest
npm
Version published
Weekly downloads
2
Maintainers
0
Weekly downloads
 
Created
Source

Binary to Decimal Converter

This npm package provides a simple function to convert a binary string (e.g., "1010") into its decimal equivalent.

Installation

Install the package using npm

npm install @sarmaakondi/binary-to-decimal

Usage

const binaryToDecimal = require("@sarmaakondi/binary-to-decimal);

const decimalNumber = binaryToDecimal("1010);
console.log(decimalNumber); // Outputs: 10

Keywords

binary

FAQs

Package last updated on 07 Feb 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts