find-remove

v5.0.0
recursively finds files and/or directories by filter options from a start directory onwards and deletes these according to plenty of options you can configure. useful if you want to clean up stuff within a directory in your node.js app.
file remove rmdir unlink find filter recursive fs delete and 3 more...

test

cross-env NODE_OPTIONS='--import=tsx' tape tests/basics.ts

lint

eslint --color ./src ./tests

lint:fix

npm --silent lint --fix; exit 0

prettier

prettier --check ./src ./tests

prettier:fix

prettier --write ./src ./tests

build

microbundle

types:check

tsc --noEmit
npm i find-remove

Metadata

  • MIT
  • >=20.12.2
  • Michael Heuberger
  • released 9/14/2024

Downloads