Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/purescript-contrib/purescript-js-bigints
https://github.com/purescript-contrib/purescript-js-bigints
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/purescript-contrib/purescript-js-bigints
- Owner: purescript-contrib
- License: mit
- Created: 2022-10-15T19:43:40.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-10-02T18:40:34.000Z (about 1 year ago)
- Last Synced: 2024-07-28T19:22:26.306Z (4 months ago)
- Language: PureScript
- Size: 55.7 KB
- Stars: 9
- Watchers: 4
- Forks: 4
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-purescript - js-bigints - FFI bindings for JavaScript's BigInt. Does not require external js libraries. (Maths)
README
# purescript-js-bigints
ffi bindings for JavaScript's [`BigInt`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/BigInt).
**Note:** There is also [`purescript-bigints`](https://github.com/purescript-contrib/purescript-bigints), which wraps the [BigInteger.js](https://github.com/peterolson/BigInteger.js) js library that emulated big integers before the arrival of `BigInt` and is now basically just a polyfill.
`purescript-js-bigints` on the other hand provides close and direct ffi bindings to the new native `BigInt` and therefore doesn't require any external npm dependency. This library has been adapted from the original `purescript-bigints`.## Documentation
Module documentation is [published on Pursuit](https://pursuit.purescript.org/packages/purescript-js-bigints/).
## Installation
```bash
spago install js-bigints
```