Detalhes do pacote

longbits

achingbrain33.9kApache-2.0 OR MIT1.1.0

BigInts represented as hi/low bit values

readme (leia-me)

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.

changelog (log de mudanças)

1.1.0 (2022-07-30)

Features

1.0.1 (2022-07-28)

Dependencies

1.0.0 (2022-07-27)

Trivial Changes