is-lite

v0.7.1
A tiny javascript type testing tool
type check assertion validation test typeguard typeof instanceof

build

npm run clean && npm run build:cjs && npm run build:esm

build:cjs

tsc

build:esm

tsc -m es6 --outDir esm

watch:cjs

npm run build:cjs -- -w

watch:esm

npm run build:esm -- -w

clean

rimraf lib && rimraf esm

lint

eslint --ext .ts,.tsx src test

test

jest

test:coverage

jest --bail --coverage

test:watch

jest --watchAll --verbose

format

prettier "**/*.{js,jsx,json,yml,yaml,css,less,scss,ts,tsx,md,graphql,mdx}" --write

validate

npm run lint && npm run test:coverage && npm run build && npm run size

size

size-limit

prepublishOnly

npm run validate

Metadata

  • MIT
  • Whatever
  • Gil Barbara
  • released 12/6/2020

Downloads

Maintainers