is-lite

v1.2.1
A tiny javascript type testing tool
type check assertion validation test typeguard typeof instanceof

build

npm run clean && tsup

watch

tsup --watch

clean

del dist/*

lint

eslint --fix src test

test

is-ci "test:coverage" "test:watch"

typecheck

tsc

typevalidation

attw -Pq

test:coverage

TZ=UTC vitest run --coverage

test:watch

TZ=UTC vitest watch

format

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

validate

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

size

size-limit

prepublishOnly

npm run validate

prepare

husky install
npm i is-lite

Metadata

  • MIT
  • Whatever
  • Gil Barbara
  • released 1/2/2024

Downloads

Maintainers