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

js-decimal-simple

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

js-decimal-simple

js 进制转换

latest
npmnpm
Version
1.0.0
Version published
Maintainers
1
Created
Source

js进制转换工具类

// browser
window.jsDecimalSimple.xxxx()
// module
import {} from 'js-decimal-simple';
// node
const {} require('js-decimal-simple');
方法入参返回值描述
decimalTo2十进制数(必填)[String]类型十进制转换二进制
decimalTo4十进制数(必填)[String]类型十进制转换四进制
decimalTo8十进制数(必填)[String]类型十进制转换八进制
decimalTo16十进制数(必填)[String]类型十进制转换十六进制
decimalTo32十进制数(必填)[String]类型十进制转换三十二进制
binaryTo10二进制数(必填)[Number]类型二进制转十进制
octalTo10八进制数(必填)[Number]类型八进制转十进制
hexadTo10十六进制数(必填)[Number]类型十六进制转十进制
quaterTo10四进制数(必填)[Number]类型四进制转十进制
thirtyTo10三十二进制数(必填)[Number]类型三十二进制转十进制

Keywords

js

FAQs

Package last updated on 08 Dec 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