detective-cjs
Version:
Get the dependencies of a CommonJS module by traversing its AST
51 lines (50 loc) • 1.09 kB
JSON
{
"name": "detective-cjs",
"version": "7.0.0",
"description": "Get the dependencies of a CommonJS module by traversing its AST",
"type": "module",
"exports": {
".": "./index.js"
},
"files": [
"index.js"
],
"scripts": {
"lint": "xo",
"fix": "xo --fix",
"uvu": "uvu test",
"test": "npm run lint && npm run uvu",
"test:ci": "c8 npm run uvu"
},
"repository": {
"type": "git",
"url": "git+https://github.com/dependents/node-detective-cjs.git"
},
"keywords": [
"detective",
"commonjs",
"dependencies",
"ast",
"static analysis",
"cjs",
"jsx"
],
"author": "Joel Kemp <joel@mrjoelkemp.com>",
"license": "MIT",
"bugs": {
"url": "https://github.com/dependents/node-detective-cjs/issues"
},
"homepage": "https://github.com/dependents/node-detective-cjs",
"engines": {
"node": ">=20.19.0 || >=22.12.0"
},
"dependencies": {
"ast-module-types": "^7.0.0",
"node-source-walk": "^8.0.0"
},
"devDependencies": {
"c8": "^11.0.0",
"uvu": "^0.5.6",
"xo": "^2.0.2"
}
}