JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • 0
  • Score
    100M100P100Q18882F
  • License MIT

High quality runtime assertions for Typescript

Package Exports

  • tassert

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (tassert) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

tassert

Circle CI

High quality runtime assertions for Typescript

Pre-alpha - Not yet ready for use

Usage

import {default as t} from 'tassert'

t(42, t.number)
t('foo', t.string)
t(99, t.or(t.number, t.string))

Tests

npm test

Building

npm run build

Hacking

npm run watch & npm run tdd