cleaners

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

fix

eslint . --fix

lib

rollup -c && cp src/index.js.flow lib && echo '{"type":"commonjs"}' > lib/cjs/package.json

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 4/24/2023

Downloads

Maintainers