io-ts-bigint

io-ts library for bigints

Usage no npm install needed!

<script type="module">
  import ioTsBigint from 'https://cdn.skypack.dev/io-ts-bigint';
</script>

README

io-ts-bigint

License NPM Package

io-ts library for bigints

Install

npm install io-ts-bigint

Definitions

numbers

open circle = exclusive, closed circle = inclusive

This diagram denotes the sets of numbers included in some of the codecs. Note that zero is neither positive nor negative.

Here we can see that the set of Positive numbers contains all reals greater than zero. The set of NonPositive numbers contains the remaining reals (including zero). The union of the set of Positive and NonPositive numbers contains all real numbers.

This relationship is mirrored in the Negative and NonNegative sets, and the Zero and NonZero sets.

Related

Acknowledgments