Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/farwayer/istp
Simple js type checker
https://github.com/farwayer/istp
Last synced: 4 days ago
JSON representation
Simple js type checker
- Host: GitHub
- URL: https://github.com/farwayer/istp
- Owner: farwayer
- Created: 2020-04-25T13:48:56.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2024-02-28T14:37:30.000Z (10 months ago)
- Last Synced: 2024-11-19T06:01:15.155Z (about 1 month ago)
- Language: JavaScript
- Size: 341 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# istp
*Simple and tree-shakable type checks*
[![NPM version](https://img.shields.io/npm/v/istp.svg)](https://www.npmjs.com/package/istp)
```shell
yarn add istp
```## Functions
`fn`, `str`, `obj`, `nonNulObj`, `num`, `bool`, `sym`, `bigInt`, `def`, `undef`,
`nul`, `nil`, `int`, `nan`, `arr`, `date`, `err`, `map`, `weakMap`, `set`,
`weakSet`, `gen`, `typedArray`, `promise`, `numObj`, `strObj`, `weakRef`