{ "_from": "strip-dirs@2.1.0", "_id": "strip-dirs@2.1.0", "_inBundle": false, "_integrity": "sha512-JOCxOeKLm2CAS73y/U4ZeZPTkE+gNVCzKt7Eox84Iej1LT/2pTWYpZKJuxwQpvX1LiZb1xokNR7RLfuBAa7T3g==", "_location": "/strip-dirs", "_phantomChildren": {}, "_requested": { "type": "version", "registry": true, "raw": "strip-dirs@2.1.0", "name": "strip-dirs", "escapedName": "strip-dirs", "rawSpec": "2.1.0", "saveSpec": null, "fetchSpec": "2.1.0" }, "_requiredBy": [ "/decompress" ], "_resolved": "https://registry.npmjs.org/strip-dirs/-/strip-dirs-2.1.0.tgz", "_spec": "2.1.0", "author": { "name": "Shinnosuke Watanabe", "url": "https://github.com/shinnn" }, "bugs": { "url": "https://github.com/shinnn/node-strip-dirs/issues" }, "dependencies": { "is-natural-number": "^4.0.1" }, "description": "Remove leading directory components from a path, like tar's --strip-components option", "devDependencies": { "@shinnn/eslint-config-node": "^3.0.0", "eslint": "^3.10.0", "istanbul": "^0.4.5", "istanbul-coveralls": "^1.0.3", "tap-spec": "^4.1.1", "tape": "^4.6.2" }, "eslintConfig": { "extends": "@shinnn/node" }, "files": [ "index.js" ], "homepage": "https://github.com/shinnn/node-strip-dirs#readme", "keywords": [ "filepath", "file-path", "path", "dir", "directory", "strip", "strip-components" ], "license": "MIT", "name": "strip-dirs", "repository": { "type": "git", "url": "git+https://github.com/shinnn/node-strip-dirs.git" }, "scripts": { "coverage": "istanbul cover test.js", "pretest": "eslint --fix --format=codeframe index.js test.js", "test": "node --throw-deprecation --track-heap-objects test.js | tap-spec" }, "version": "2.1.0" }