0.1.10 • Published 2 years ago

@qitt/bigintize v0.1.10

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

@qitt/bigintize

pnpm add @qitt/bigintize
npm install @qitt/bigintize
yarn add @qitt/bigintize

string や number を bigint に変換

Convert string or number to bigint

import bigintize from '@qitt/bigintize'

bigintize('123') // BigInt(123)
bigintize(123) // BigInt(123)
bigintize('$1,000') // BigInt(1000)
bigintize('invalid value') // throw error
bigintize('invalid value', BitInt(1)) // BitInt(1)
0.1.10

2 years ago

0.1.9

2 years ago

0.1.7

2 years ago

0.1.5

2 years ago

0.1.4

2 years ago