UNPKG

find-node-modules

Version:

Return an array of all parent node_modules directories

69 lines (68 loc) 1.96 kB
{ "_args": [ [ "@nodelib/fs.scandir@2.1.1", "/Users/callumacrae/Sites/find-node-modules/cz-cli" ] ], "_development": true, "_from": "@nodelib/fs.scandir@2.1.1", "_id": "@nodelib/fs.scandir@2.1.1", "_inBundle": false, "_integrity": "sha512-NT/skIZjgotDSiXs0WqYhgcuBKhUMgfekCmCGtkUAiLqZdOnrdjmZr9wRl3ll64J9NF79uZ4fk16Dx0yMc/Xbg==", "_location": "/@nodelib/fs.scandir", "_phantomChildren": {}, "_requested": { "type": "version", "registry": true, "raw": "@nodelib/fs.scandir@2.1.1", "name": "@nodelib/fs.scandir", "escapedName": "@nodelib%2ffs.scandir", "scope": "@nodelib", "rawSpec": "2.1.1", "saveSpec": null, "fetchSpec": "2.1.1" }, "_requiredBy": [ "/@nodelib/fs.walk" ], "_resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.1.tgz", "_spec": "2.1.1", "_where": "/Users/callumacrae/Sites/find-node-modules/cz-cli", "dependencies": { "@nodelib/fs.stat": "2.0.1", "run-parallel": "^1.1.9" }, "description": "List files and directories inside the specified directory", "engines": { "node": ">= 8" }, "gitHead": "f2e0caa6ff76566953dcfac75b916d80474a5e45", "keywords": [ "NodeLib", "fs", "FileSystem", "file system", "scandir", "readdir", "dirent" ], "license": "MIT", "main": "out/index.js", "name": "@nodelib/fs.scandir", "repository": { "type": "git", "url": "https://github.com/nodelib/nodelib/tree/master/packages/fs/fs.scandir" }, "scripts": { "build": "npm run clean && npm run compile && npm run lint && npm test", "clean": "rimraf {tsconfig.tsbuildinfo,out}", "compile": "tsc -b .", "compile:watch": "tsc -p . --watch --sourceMap", "lint": "tslint \"src/**/*.ts\" -p . -t stylish", "test": "mocha \"out/**/*.spec.js\" -s 0", "watch": "npm run clean && npm run compile:watch" }, "typings": "out/index.d.ts", "version": "2.1.1" }