Skip to content

Latest commit

 

History

History
42 lines (27 loc) · 551 Bytes

README.md

File metadata and controls

42 lines (27 loc) · 551 Bytes

better-bigint

Better JSON support for BigInt

Usage

Install using bun (or npm, yarn, etc.):

bun install better-bigint

Import it at the top of your entrypoint file:

import { betterBigInt } from 'better-bigint';

Somewhere before you start calling JSON.parse/JSON.stringify:

betterBigInt();

Now, stop thinking about it and go develop some software.

Contribute

# install dependencies
bun install

# test the app
bun test

# build the app, available under dist
bun run build

License

MIT