find-remove
Version:
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.
73 lines (72 loc) • 2.11 kB
JSON
{
"name": "find-remove",
"version": "5.1.1",
"description": "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.",
"main": "dist/find-remove.js",
"author": "Michael Heuberger <michael.heuberger@binarykitchen.com>",
"keywords": [
"file",
"remove",
"rmdir",
"unlink",
"find",
"filter",
"recursive",
"fs",
"delete",
"extension",
"file stats"
],
"engines": {
"node": ">=20.12.2",
"npm": ">=10.5.0"
},
"dependencies": {
"rimraf": "6.0.1"
},
"prettier": "./prettier.config.cjs",
"devDependencies": {
"@tsconfig/node22": "22.0.0",
"@tsconfig/strictest": "2.0.5",
"@types/node": "22.13.9",
"@types/randomstring": "1.3.0",
"@types/tape": "5.8.1",
"@typescript-eslint/eslint-plugin": "7.18.0",
"@typescript-eslint/parser": "7.18.0",
"cross-env": "7.0.3",
"eslint": "8.56.0",
"eslint-config-prettier": "9.1.0",
"eslint-import-resolver-typescript": "3.8.3",
"eslint-plugin-import": "2.31.0",
"eslint-plugin-node": "11.1.0",
"eslint-plugin-promise": "6.0.1",
"microbundle": "0.15.1",
"mkdirp": "3.0.1",
"prettier": "3.5.3",
"randomstring": "1.3.1",
"tape": "5.9.0",
"tsx": "4.19.3",
"typescript": "5.8.2"
},
"source": "src/index.ts",
"module": "dist/find-remove.mjs",
"unpkg": "dist/find-remove.umd.js",
"scripts": {
"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"
},
"repository": {
"type": "git",
"url": "https://github.com/binarykitchen/find-remove.git"
},
"license": "MIT",
"readmeFilename": "README.md",
"directories": {
"test": "tests"
}
}