Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/eagr/colossal

bigint-friendly math toolkit
https://github.com/eagr/colossal

Last synced: 3 months ago
JSON representation

bigint-friendly math toolkit

Awesome Lists containing this project

README

        

# colossal

bigint-friendly math toolkit

```
npm i colossal
```

## Doc

A *boxed* function can take a mix of `number` and `bigint` as arguments.
If any of the arguments is a `bigint`,
the function may either return a `bigint` or a collection of `bigint`s.
Otherwise,
the function may either return a `number` or a collection of `number`s.

## License

[MIT](./LICENSE)