@endo/nat
Ensures that a number is within the natural numbers (0, 1, 2...) or throws a RangeError
Ensures that a number is within the natural numbers (0, 1, 2...) or throws a RangeError
Turn Buffer instances into "pointers"
Turn Buffer instances into "pointers"
Turn Buffer instances into "pointers", with "v8::ArrayBuffer::GetBackingStore" patch
Javascript (and Typescript) valibot number schemas
Javascript (and Typescript) zod number schemas
Turn Buffer instances into "pointers", with "v8::ArrayBuffer::GetBackingStore" patch
The BigInteger class wrapped bn.js and native BitInt
A minor package that provides type aliases int, long, float and double in TypeScript
Turn Buffer instances into "pointers", with "v8::ArrayBuffer::GetBackingStore" patch
Get the integral and fractional parts of a given number.
Turn Buffer instances into "pointers"
Turn Buffer instances into "pointers"
Basic int converter
Turn Buffer instances into "pointers", with "v8::ArrayBuffer::GetBackingStore" patch
Native 64-bit integers with overflow protection.
Returns a random value between max (exclusive) and min (inclusive)