[go: up one dir, main page]

Skip to content

Provides the best JSON support for BigInt!

License

Notifications You must be signed in to change notification settings

acrois/better-bigint

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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