cleaners

v0.3.13
Cleans & validates untrusted data, with TypeScript & Flow support
conversion json validation

fix

eslint . --fix

lib

rollup -c; cp src/index.js.flow lib

flow

flow

lint

eslint .

test

nyc mocha 'test/**/*.test.ts'

clean

rimraf lib

types

tsc

verify

npm-run-all -p flow types -s lib lint test

prepare

husky install && npm-run-all clean -p lib types

precommit

lint-staged && npm-run-all -p flow types

Metadata

  • MIT
  • Whatever
  • William Swanson
  • released 7/21/2022

Downloads

Maintainers