longbits
TypeScript icon, indicating that this package has built-in type declarations

1.1.0 • Public • Published

longbits

codecov CI

BigInts represented as hi/low bit values

Table of contents

Install

$ npm i longbits

Usage

import { LongBits } from 'longbits'

const val = 6547656755453442n
const bits = LongBits.fromBigInt(val)

bits.toBigInt() // 6547656755453442n

License

Licensed under either of

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Readme

Keywords

none

Package Sidebar

Install

npm i longbits

Weekly Downloads

5,365

Version

1.1.0

License

Apache-2.0 OR MIT

Unpacked Size

23 kB

Total Files

8

Last publish

Collaborators

  • achingbrain