typical

Isomorphic, functional type-checking for Javascript

MIT License

Downloads
19.5M
Stars
21
Committers
4

{{>main}}

Load anywhere

This library is compatible with Node.js, the Web and any style of module loader. It can be loaded anywhere, natively without transpilation.

Within a Node.js ECMAScript Module:

import t from 'typical'

or

import { isNumber } from 'typical'

CommonJS:

const { isNumber } = require('typical')

Within a modern browser ECMAScript Module:

import typical from './node_modules/typical/index.js'

© 2014-25 Lloyd Brookes <[email protected]>.

Test suite by test-runner. Documented by jsdoc-to-markdown.