Better JSON support for BigInt
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.
# install dependencies
bun install
# test the app
bun test
# build the app, available under dist
bun run build
MIT