Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

io-ts-numbers

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

io-ts-numbers

io-ts library for numbers

  • 1.1.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

io-ts-numbers

NPM Package

io-ts library for numbers

Install

npm install io-ts-numbers

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.

The Natural numbers are defined by the Peano axioms, so the set of Natural numbers includes zero and every finite positive integer.

Acknowledgments

Keywords

FAQs

Package last updated on 15 Jan 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc