@eternl/big
v0.10.20
Published
Single-file TypeScript port of big.js with bigint-aware definitions
Keywords
Readme
@eternl/big
Private big.js-compatible package for arbitrary-precision decimal arithmetic, implemented as a
single-file TypeScript runtime in src/index.ts with workspace-local bigint-aware typings.
Installation
npm install @eternl/bigThis package is published as a restricted scoped package and is intended for internal Eternl modules.
Usage
import Big from '@eternl/big'
const amount = new Big('9007199254740993')
const sum = amount.plus(7n)
sum.toString()Source Attribution
This package is a behavior-preserving TypeScript port of big.js
(version 7.0.1) and adapts TypeScript typings to support bigint as input.
Third-Party License
The vendored upstream license is documented in
THIRD_PARTY_NOTICES.md.
