parent-module
Version:
Get the path of the parent module
51 lines (50 loc) • 885 B
JSON
{
"name": "parent-module",
"version": "3.1.0",
"description": "Get the path of the parent module",
"license": "MIT",
"repository": "sindresorhus/parent-module",
"funding": "https://github.com/sponsors/sindresorhus",
"author": {
"name": "Sindre Sorhus",
"email": "sindresorhus@gmail.com",
"url": "https://sindresorhus.com"
},
"type": "module",
"exports": "./index.js",
"engines": {
"node": "^12.20.0 || ^14.13.1 || >=16.0.0"
},
"scripts": {
"test": "xo && ava && tsd"
},
"files": [
"index.js",
"index.d.ts"
],
"keywords": [
"parent",
"module",
"package",
"caller",
"calling",
"module",
"path",
"callsites",
"callsite",
"stacktrace",
"stack",
"trace",
"function",
"file"
],
"dependencies": {
"callsites": "^4.1.0"
},
"devDependencies": {
"ava": "^3.15.0",
"execa": "^5.1.1",
"tsd": "^0.17.0",
"xo": "^0.45.0"
}
}