New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

btd

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

btd

### Convert binary numbers to decimal, or vice versa easily.

latest
npmnpm
Version
1.0.1
Version published
Maintainers
1
Created
Source

binary

Convert binary numbers to decimal, or vice versa easily.

Installation

npm i btd

Usage

const binary = require('btd');

binary.toDecimal('10110101'); // 181
binary.toBinary(1337);        // 10100111001

FAQs

Package last updated on 20 Apr 2022

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