{"_id":"strip-dirs","_rev":"21-044092e3e24f11a7841513e5046d5600","name":"strip-dirs","description":"Remove leading directory components from a path, like tar's --strip-components option","dist-tags":{"latest":"3.0.0"},"versions":{"0.0.0":{"name":"strip-dirs","version":"0.0.0","description":"Remove leading directory components from a path, such as tar's --strip-components option","repository":{"type":"git","url":"https://github.com/shinnn/node-strip-dirs"},"author":{"name":"Shinnosuke Watanabe","url":"https://github.com/shinnn"},"bin":{"strip-dirs":"./cli.js"},"scripts":{"pretest":"eslint *.js & jscs *.js","test":"tape test.js | tap-spec"},"licenses":[{"type":"MIT","url":"https://github.com/shinnn/node-strip-dirs/blob/master/LICENSE"}],"files":["cli.js","index.js","LICENSE"],"keywords":["path","dir","directory","strip","strip-components"],"dependencies":{"get-stdin":"^3.0.0","is-absolute":"^0.1.4","is-integer":"^1.0.3","minimist":"^1.1.0"},"devDependencies":{"eslint":"^0.7.4","jscs":"^1.5.9","require-main":"^0.1.1","tap-spec":"^0.2.0","tape":"^2.14.0"},"gitHead":"1da09087b67040ddaf90b4fc75f35ddf40f89d9c","bugs":{"url":"https://github.com/shinnn/node-strip-dirs/issues"},"homepage":"https://github.com/shinnn/node-strip-dirs","_id":"strip-dirs@0.0.0","_shasum":"86ee1090fa76cc09c37f7f3c10bc4ff9ed5b23b3","_from":".","_npmVersion":"1.4.23","_npmUser":{"name":"shinnn","email":"snnskwtnb@gmail.com"},"maintainers":[{"name":"shinnn","email":"snnskwtnb@gmail.com"}],"dist":{"shasum":"86ee1090fa76cc09c37f7f3c10bc4ff9ed5b23b3","tarball":"https://registry.npmjs.org/strip-dirs/-/strip-dirs-0.0.0.tgz","integrity":"sha512-E+wuIGUETmOFt+cJL/3oXXYRi63gNkKeYvAGkrQrtxUZkHi/HXx1d4nM6zRbLJLgejg3y/WiIMiJBdZniEFasQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCbsOorIN/XwaXP7zZ8sVM/fXAmb0mPSgusmNhAuKwiKQIhAOxZQvx/z/vsFg8YFLlNQdKU8p48vV0smHubtvrqsLzs"}]},"directories":{}},"0.1.0":{"name":"strip-dirs","version":"0.1.0","description":"Remove leading directory components from a path, such as tar's --strip-components option","repository":{"type":"git","url":"https://github.com/shinnn/node-strip-dirs"},"author":{"name":"Shinnosuke Watanabe","url":"https://github.com/shinnn"},"bin":{"strip-dirs":"./cli.js"},"scripts":{"pretest":"eslint *.js & jscs *.js","test":"tape test.js | tap-spec"},"licenses":[{"type":"MIT","url":"https://github.com/shinnn/node-strip-dirs/blob/master/LICENSE"}],"files":["cli.js","index.js","LICENSE"],"keywords":["path","dir","directory","strip","strip-components"],"dependencies":{"get-stdin":"^3.0.0","is-absolute":"^0.1.4","is-integer":"^1.0.3","minimist":"^1.1.0"},"devDependencies":{"eslint":"^0.7.4","jscs":"^1.5.9","require-main":"^0.1.1","tap-spec":"^0.2.0","tape":"^2.14.0"},"gitHead":"b60d177daec4a741079c15fa8b80f2a6a5f930cd","bugs":{"url":"https://github.com/shinnn/node-strip-dirs/issues"},"homepage":"https://github.com/shinnn/node-strip-dirs","_id":"strip-dirs@0.1.0","_shasum":"c99bf18d75e9cd13749d8bea7b6b364f767b8d2e","_from":".","_npmVersion":"1.4.23","_npmUser":{"name":"shinnn","email":"snnskwtnb@gmail.com"},"maintainers":[{"name":"shinnn","email":"snnskwtnb@gmail.com"}],"dist":{"shasum":"c99bf18d75e9cd13749d8bea7b6b364f767b8d2e","tarball":"https://registry.npmjs.org/strip-dirs/-/strip-dirs-0.1.0.tgz","integrity":"sha512-i1INnS2fiNToSmD+HK0I1wsmhJ4bQXb8cRgmdjolKzKdQJVRhvUiHLbzsCDz5h+P/RLtGyuns9aGfHaur14TTQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCi1ShCvJfLTvQJPZSQmBvpGyFeexAUULiQLnXUh8TMtwIgOngVSYphQGkIJ+iWCjmFD+SqcFQG/TaO8Xu7PvwUtmk="}]},"directories":{}},"0.1.1":{"name":"strip-dirs","version":"0.1.1","description":"Remove leading directory components from a path, like tar's --strip-components option","repository":{"type":"git","url":"https://github.com/shinnn/node-strip-dirs"},"author":{"name":"Shinnosuke Watanabe","url":"https://github.com/shinnn"},"bin":{"strip-dirs":"./cli.js"},"scripts":{"pretest":"eslint *.js & jscs *.js","test":"tape test.js | tap-spec"},"licenses":[{"type":"MIT","url":"https://github.com/shinnn/node-strip-dirs/blob/master/LICENSE"}],"files":["cli.js","index.js","LICENSE"],"keywords":["path","dir","directory","strip","strip-components"],"dependencies":{"chalk":"^0.5.1","get-stdin":"^3.0.0","is-absolute":"^0.1.4","is-integer":"^1.0.3","minimist":"^1.1.0"},"devDependencies":{"eslint":"^0.7.4","jscs":"^1.5.9","require-main":"^0.1.1","tap-spec":"^0.2.1","tape":"^2.14.0"},"gitHead":"676166771baeaa6fae9f8663d159111f535b9913","bugs":{"url":"https://github.com/shinnn/node-strip-dirs/issues"},"homepage":"https://github.com/shinnn/node-strip-dirs","_id":"strip-dirs@0.1.1","_shasum":"5524b3a50231e015d0814ec42b89a76427df62e8","_from":".","_npmVersion":"1.4.23","_npmUser":{"name":"shinnn","email":"snnskwtnb@gmail.com"},"maintainers":[{"name":"shinnn","email":"snnskwtnb@gmail.com"}],"dist":{"shasum":"5524b3a50231e015d0814ec42b89a76427df62e8","tarball":"https://registry.npmjs.org/strip-dirs/-/strip-dirs-0.1.1.tgz","integrity":"sha512-hWQLjYTA6lDe52cS9lso/k3lRe7pjdLMflHFFeYBX1t3xBi0MeNUB7S3eq4VqYZgO8UYItDjz0jeeMp76QU/kg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAn09LAa9xX+opoicFpw36Q0bHpprAxKo1lfka/4CflNAiEAjEE1v3Nccqrtj0R99vkbpe3YhrwJTspKxa1IpwJByt4="}]},"directories":{}},"1.0.0":{"name":"strip-dirs","version":"1.0.0","description":"Remove leading directory components from a path, like tar's --strip-components option","repository":{"type":"git","url":"https://github.com/shinnn/node-strip-dirs"},"author":{"name":"Shinnosuke Watanabe","url":"https://github.com/shinnn"},"bin":{"strip-dirs":"./cli.js"},"files":["cli.js","index.js","LICENSE"],"scripts":{"pretest":"eslint *.js & jscs *.js","test":"node test.js | tap-spec","coverage":"istanbul cover test.js","coveralls":"${npm_package_scripts_coverage} && istanbul-coveralls"},"licenses":[{"type":"MIT","url":"https://github.com/shinnn/node-strip-dirs/blob/master/LICENSE"}],"keywords":["path","dir","directory","strip","strip-components"],"dependencies":{"chalk":"^0.5.1","get-stdin":"^3.0.2","is-absolute":"^0.1.5","is-natural-number":"^1.0.0","minimist":"^1.1.0"},"devDependencies":{"eslint":"^0.9.2","istanbul":"^0.3.2","istanbul-coveralls":"^1.0.1","jscs":"^1.7.3","tap-spec":"^2.1.0","tape":"^3.0.3"},"jscsConfig":{"preset":"google","maximumLineLength":95},"gitHead":"30e2e454d60614b2913b121a87a69c96699b2f20","bugs":{"url":"https://github.com/shinnn/node-strip-dirs/issues"},"homepage":"https://github.com/shinnn/node-strip-dirs","_id":"strip-dirs@1.0.0","_shasum":"6414f2b843ae5b8c46dc70c514ea3b2366708c0e","_from":".","_npmVersion":"2.1.9","_nodeVersion":"0.10.33","_npmUser":{"name":"shinnn","email":"snnskwtnb@gmail.com"},"maintainers":[{"name":"shinnn","email":"snnskwtnb@gmail.com"}],"dist":{"shasum":"6414f2b843ae5b8c46dc70c514ea3b2366708c0e","tarball":"https://registry.npmjs.org/strip-dirs/-/strip-dirs-1.0.0.tgz","integrity":"sha512-V9RovnPwttoQaXZNIs7BT+DY+3XzgZtzgc6h5d1kN7AwWTFd+QQHBVFAQDiHSKD/5EMBO/T4tleIxieRn8Gcaw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIETMkUmlmOJ0fWOIe8rXGf6PLZX4Eavz9k7Vc96LVH9UAiEA+olMmOgbaQzdZMVgmKXxFSPksjc/E5X7Hdp8EXS0IKA="}]},"directories":{}},"1.0.1":{"name":"strip-dirs","version":"1.0.1","description":"Remove leading directory components from a path, like tar's --strip-components option","repository":{"type":"git","url":"https://github.com/shinnn/node-strip-dirs"},"author":{"name":"Shinnosuke Watanabe","url":"https://github.com/shinnn"},"bin":{"strip-dirs":"cli.js"},"files":["cli.js","index.js"],"scripts":{"pretest":"jscs *.js && eslint *.js","test":"node test.js | tap-spec","coverage":"istanbul cover test.js","coveralls":"${npm_package_scripts_coverage} && istanbul-coveralls"},"licenses":[{"type":"MIT","url":"https://github.com/shinnn/node-strip-dirs/blob/master/LICENSE"}],"keywords":["path","dir","directory","strip","strip-components"],"dependencies":{"chalk":"^0.5.1","get-stdin":"^4.0.1","is-absolute":"^0.1.5","is-natural-number":"^1.0.0","minimist":"^1.1.0","sum-up":"^1.0.0"},"devDependencies":{"eslint":"^0.12.0","istanbul":"^0.3.5","istanbul-coveralls":"^1.0.1","jscs":"^1.10.0","tap-spec":"^2.2.0","tape":"^3.4.0"},"jscsConfig":{"preset":"google","maximumLineLength":95},"gitHead":"bb7e4f90a11b9711e04e1cfffebb60c4f24d70fd","bugs":{"url":"https://github.com/shinnn/node-strip-dirs/issues"},"homepage":"https://github.com/shinnn/node-strip-dirs","_id":"strip-dirs@1.0.1","_shasum":"36a5716e654007de049f0f20c17ae3e512757266","_from":".","_npmVersion":"2.3.0","_nodeVersion":"1.0.1","_npmUser":{"name":"shinnn","email":"snnskwtnb@gmail.com"},"maintainers":[{"name":"shinnn","email":"snnskwtnb@gmail.com"}],"dist":{"shasum":"36a5716e654007de049f0f20c17ae3e512757266","tarball":"https://registry.npmjs.org/strip-dirs/-/strip-dirs-1.0.1.tgz","integrity":"sha512-ZvlV2WkNxu8J/xXx5glMYy26zFwlb9AoFJGcQYxP7IhTvnAT3Rg0BmuHk1oHZmY60OrkO8s+S6lvgNTEpRffpQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFdlwHtGhnV6mXSc6SoVa1Ey/IPIJS6lZeRf/1lGOkJSAiEAz8fESEM54E4avzhQjO7NZVT0sww+4RSIpMx1DUhdwTk="}]},"directories":{}},"1.1.0":{"name":"strip-dirs","version":"1.1.0","description":"Remove leading directory components from a path, like tar's --strip-components option","repository":{"type":"git","url":"https://github.com/shinnn/node-strip-dirs"},"author":{"name":"Shinnosuke Watanabe","url":"https://github.com/shinnn"},"bin":{"strip-dirs":"cli.js"},"files":["cli.js","index.js"],"scripts":{"pretest":"jscs *.js && eslint *.js","test":"node test.js | tap-spec","coverage":"istanbul cover test.js","coveralls":"${npm_package_scripts_coverage} && istanbul-coveralls"},"licenses":[{"type":"MIT","url":"https://github.com/shinnn/node-strip-dirs/blob/master/LICENSE"}],"keywords":["path","dir","directory","strip","strip-components"],"dependencies":{"chalk":"^0.5.1","get-stdin":"^4.0.1","is-absolute":"^0.1.5","is-natural-number":"^2.0.0","minimist":"^1.1.0","sum-up":"^1.0.0"},"devDependencies":{"eslint":"^0.14.1","istanbul":"^0.3.5","istanbul-coveralls":"^1.0.1","jscs":"^1.11.3","tap-spec":"^2.2.1","tape":"^3.5.0"},"jscsConfig":{"preset":"google","maximumLineLength":95},"gitHead":"5819b8859b15e2151a65241ced9a842a547c5784","bugs":{"url":"https://github.com/shinnn/node-strip-dirs/issues"},"homepage":"https://github.com/shinnn/node-strip-dirs","_id":"strip-dirs@1.1.0","_shasum":"1dfeea37f39281e09eee55eb4a88ad0eea090cad","_from":".","_npmVersion":"2.5.0","_nodeVersion":"1.1.0","_npmUser":{"name":"shinnn","email":"snnskwtnb@gmail.com"},"maintainers":[{"name":"shinnn","email":"snnskwtnb@gmail.com"}],"dist":{"shasum":"1dfeea37f39281e09eee55eb4a88ad0eea090cad","tarball":"https://registry.npmjs.org/strip-dirs/-/strip-dirs-1.1.0.tgz","integrity":"sha512-iRnG6CWBytVQy0DTqX6e9QS6LzneyQ3ohV5MwOpLxFidrZR9B1T3kU60pQJoQs+cAExeWHW0CMdpCErFc3oMfA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDVeuqJhpKAhLZbVwVD0r4nxoAoR7dcxvQ+IfWiGLlDVAIhAOqFjIVvIKibubSJDOx1ye1rRfZ7QSYewcST9FFmuet1"}]},"directories":{}},"1.1.1":{"name":"strip-dirs","version":"1.1.1","description":"Remove leading directory components from a path, like tar's --strip-components option","repository":{"type":"git","url":"https://github.com/shinnn/node-strip-dirs"},"author":{"name":"Shinnosuke Watanabe","url":"https://github.com/shinnn"},"bin":{"strip-dirs":"cli.js"},"files":["cli.js","index.js"],"scripts":{"pretest":"jscs *.js && eslint *.js","test":"node test.js | tap-spec","coverage":"istanbul cover test.js","coveralls":"${npm_package_scripts_coverage} && istanbul-coveralls"},"licenses":[{"type":"MIT","url":"https://github.com/shinnn/node-strip-dirs/blob/master/LICENSE"}],"keywords":["path","dir","directory","strip","strip-components"],"dependencies":{"chalk":"^1.0.0","get-stdin":"^4.0.1","is-absolute":"^0.1.5","is-natural-number":"^2.0.0","minimist":"^1.1.0","sum-up":"^1.0.1"},"devDependencies":{"eslint":"^0.15.0","istanbul":"^0.3.6","istanbul-coveralls":"^1.0.1","jscs":"^1.11.3","tap-spec":"^2.2.1","tape":"^3.5.0"},"jscsConfig":{"preset":"google","maximumLineLength":95},"gitHead":"5fef3db9d046af108c1d8b54b99332d98dfa364a","bugs":{"url":"https://github.com/shinnn/node-strip-dirs/issues"},"homepage":"https://github.com/shinnn/node-strip-dirs","_id":"strip-dirs@1.1.1","_shasum":"960bbd1287844f3975a4558aa103a8255e2456a0","_from":".","_npmVersion":"2.6.0","_nodeVersion":"1.3.0","_npmUser":{"name":"shinnn","email":"snnskwtnb@gmail.com"},"maintainers":[{"name":"shinnn","email":"snnskwtnb@gmail.com"}],"dist":{"shasum":"960bbd1287844f3975a4558aa103a8255e2456a0","tarball":"https://registry.npmjs.org/strip-dirs/-/strip-dirs-1.1.1.tgz","integrity":"sha512-+0QvOUTIs3xMridKraQAUSIp/kq7FRt/QjevB40+U6qJfeuPpTDQENFVfAbfZp59GpJkxY+yMdjR5cgKZyR2vg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAEJXn2AFong/NZ7dMjuw/KVgzXwZCJI9rt0ePSA9G6lAiEA2rkp5EJh+tS1MeikYDGFFvz/Itc2SU7ymnApaK3xjEI="}]},"directories":{}},"2.0.0":{"name":"strip-dirs","version":"2.0.0","description":"Remove leading directory components from a path, like tar's --strip-components option","repository":{"type":"git","url":"git+https://github.com/shinnn/node-strip-dirs.git"},"author":{"name":"Shinnosuke Watanabe","url":"https://github.com/shinnn"},"files":["index.js"],"scripts":{"pretest":"eslint --config @shinnn/cli --ignore-path .gitignore .","test":"node --strong_mode --throw-deprecation --track-heap-objects test.js | tap-spec","coverage":"node --strong_mode node_modules/.bin/istanbul cover test.js"},"license":"MIT","keywords":["filepath","file-path","path","dir","directory","strip","strip-components"],"dependencies":{"is-natural-number":"^4.0.1"},"devDependencies":{"@shinnn/eslint-config-cli":"^1.0.0","eslint":"^2.10.2","istanbul":"^0.4.3","istanbul-coveralls":"^1.0.3","tap-spec":"^4.1.1","tape":"^4.5.1"},"gitHead":"eedce7da843c4a83d5da113bef2a653cb5f8a906","bugs":{"url":"https://github.com/shinnn/node-strip-dirs/issues"},"homepage":"https://github.com/shinnn/node-strip-dirs#readme","_id":"strip-dirs@2.0.0","_shasum":"610cdb2928200da0004f41dcb90fc95cd919a0b6","_from":".","_npmVersion":"3.9.2","_nodeVersion":"5.9.1","_npmUser":{"name":"shinnn","email":"snnskwtnb@gmail.com"},"dist":{"shasum":"610cdb2928200da0004f41dcb90fc95cd919a0b6","tarball":"https://registry.npmjs.org/strip-dirs/-/strip-dirs-2.0.0.tgz","integrity":"sha512-0EQ9UChIr69BUb/Nc2+aAjClgGefBaUhBypv60E3L56FajbCxl+ap7EFRBbCKHZP+0mxDj1kjUCSSRjcw11pIA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDhpFF1mYIZWlPHiU4aM+kD58g1Yx/jTOdd1zuShPi9NwIhAJiTTsMPcN/thfbOCT1MYUYcVRgPYAyzHezYkcykLAyu"}]},"maintainers":[{"name":"shinnn","email":"snnskwtnb@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/strip-dirs-2.0.0.tgz_1464085485043_0.895226779859513"},"directories":{}},"2.1.0":{"name":"strip-dirs","version":"2.1.0","description":"Remove leading directory components from a path, like tar's --strip-components option","repository":{"type":"git","url":"git+https://github.com/shinnn/node-strip-dirs.git"},"author":{"name":"Shinnosuke Watanabe","url":"https://github.com/shinnn"},"files":["index.js"],"scripts":{"pretest":"eslint --fix --format=codeframe index.js test.js","test":"node --throw-deprecation --track-heap-objects test.js | tap-spec","coverage":"istanbul cover test.js"},"license":"MIT","keywords":["filepath","file-path","path","dir","directory","strip","strip-components"],"dependencies":{"is-natural-number":"^4.0.1"},"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"},"gitHead":"91d8783538def91882cf1c7c77a7dd0a52dca3ac","bugs":{"url":"https://github.com/shinnn/node-strip-dirs/issues"},"homepage":"https://github.com/shinnn/node-strip-dirs#readme","_id":"strip-dirs@2.1.0","_npmVersion":"5.5.1","_nodeVersion":"8.7.0","_npmUser":{"name":"shinnn","email":"snnskwtnb@gmail.com"},"dist":{"integrity":"sha512-JOCxOeKLm2CAS73y/U4ZeZPTkE+gNVCzKt7Eox84Iej1LT/2pTWYpZKJuxwQpvX1LiZb1xokNR7RLfuBAa7T3g==","shasum":"4987736264fc344cf20f6c34aca9d13d1d4ed6c5","tarball":"https://registry.npmjs.org/strip-dirs/-/strip-dirs-2.1.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGeLsm9SfDnS3reJbM1nT8gcSSLspXV/ugYv8R9p/79fAiEA0Rxm3T+lH8z2Vr0qq49rR1rEDo7Rul843zEwrLp3PMU="}]},"maintainers":[{"name":"shinnn","email":"snnskwtnb@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/strip-dirs-2.1.0.tgz_1508495441992_0.20254218531772494"},"directories":{}},"3.0.0-0":{"name":"strip-dirs","version":"3.0.0-0","description":"Remove leading directory components from a path, like tar's --strip-components option","repository":{"type":"git","url":"git+https://github.com/shinnn/node-strip-dirs.git"},"author":{"name":"Shinnosuke Watanabe","url":"https://github.com/shinnn"},"license":"ISC","scripts":{"pretest":"eslint --fix --format=codeframe index.js test.js","test":"istanbul cover test.js"},"keywords":["filepath","file-path","path","dir","directory","strip","strip-components"],"dependencies":{"is-natural-number":"^4.0.1"},"devDependencies":{"@shinnn/eslint-config-node":"^5.0.0","eslint":"^4.13.0","istanbul":"^0.4.5","tape":"^4.8.0"},"eslintConfig":{"extends":"@shinnn/node"},"gitHead":"5a9f2f7a487cb6ecbf8c01a91a6d7177c7132ca3","bugs":{"url":"https://github.com/shinnn/node-strip-dirs/issues"},"homepage":"https://github.com/shinnn/node-strip-dirs#readme","_id":"strip-dirs@3.0.0-0","_npmVersion":"6.4.1","_nodeVersion":"10.10.0","_npmUser":{"name":"shinnn","email":"snnskwtnb@gmail.com"},"dist":{"integrity":"sha512-hypYv8NWfMwsGd5hXLdgkxCmj77DsZd8Zl3y3csGSlPtx+9mjjHSJcFJOvVlGMEeWREs3jJlprMKGInHcng4Nw==","shasum":"23f62a6758c167fa1dffedad2f992d64d80cdfec","tarball":"https://registry.npmjs.org/strip-dirs/-/strip-dirs-3.0.0-0.tgz","fileCount":4,"unpackedSize":5857,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbmHnFCRA9TVsSAnZWagAAujkP/jMA04iqocIYNrKDhUjC\nv9mDr3uPYxIZGEZQG8Xl+Q8Zp3IGUtfjlYpApnjIsCCppdpWkBN0j+mgPz2l\nT1w+8UrWmMxJE1B4NGX19CaFCCpNPIzhx8n/e3Vh1pMOLBZS8buujeAuPer0\nD7jUpOce2arymCYFqiwBqjPDmPpflDAv/LhSgBkWegYuFCmGaF9Ajhf/KdFX\n9Cna9BlsqGK4UVHa9etK4FfDl6zKu7+H/PyBn/pv1qkUoL0hF7lzZygqGzsH\nA/LFs6pRie8Vlzreyqq1CTcDAt3RE56oV96Kv94ZueLZ17AilnUMXITrwVlZ\nMX4LMgLjSiVJVtx5FsXOdlMmhSz7IE57QeayPd6VxINdzgpYNujTZYlBOmvd\ndW+MDA0F+NuGeBdFEy681uk6SYk0b/xYclwZOhGxaPGvCPa45/5MN6vOulPt\na/4T9KLxUJVGpY6FC6x1nIIyhPZE+zoMZmz7h0pN/mR8z+BwFDpnyoIrKWrE\nQzFEsaQk9qYyZHAfFTYPmoU5KYt9aCPxdJeLs85ox7FX6GxsIhkkZUOCsFhR\n17i2v71Arix9yAXKYjr7avyB5TGLX4W4QxqO8SM6a153lVEdnLHC11142Yeh\n+De1f7u4Fuf2iNdYsuZL5IXYe4y8XAJ0LPh/wSF4XA1KZa7sUDBz8lP8xC99\nlXwG\r\n=Hn/S\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDlxRBNXZPvGKzqViW/GM2yj/s3tP1zMAgSWQXdYOlVNAIhAI/FJhStTrfpqD9Coxwb8dtAYwauAJGm10R4fYqxHc8j"}]},"maintainers":[{"name":"shinnn","email":"snnskwtnb@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/strip-dirs_3.0.0-0_1536719301019_0.6008357233832993"},"_hasShrinkwrap":false},"3.0.0":{"name":"strip-dirs","version":"3.0.0","description":"Remove leading directory components from a path, like tar's --strip-components option","repository":{"type":"git","url":"git+https://github.com/shinnn/node-strip-dirs.git"},"author":{"name":"Shinnosuke Watanabe","url":"https://github.com/shinnn"},"license":"ISC","scripts":{"pretest":"eslint .","test":"nyc node test.js"},"keywords":["filepath","file-path","path","dir","directory","strip","strip-components"],"dependencies":{"inspect-with-kind":"^1.0.5","is-plain-obj":"^1.1.0"},"devDependencies":{"@shinnn/eslint-config":"^6.7.0","eslint":"^5.5.0","nyc":"^13.0.1","nyc-config-common":"^1.0.0","tape":"^4.9.1"},"eslintConfig":{"extends":"@shinnn"},"nyc":{"extends":"nyc-config-common"},"gitHead":"a923eb0794fae7cfeda5a44572b2100058eec404","bugs":{"url":"https://github.com/shinnn/node-strip-dirs/issues"},"homepage":"https://github.com/shinnn/node-strip-dirs#readme","_id":"strip-dirs@3.0.0","_npmVersion":"6.4.1","_nodeVersion":"10.10.0","_npmUser":{"name":"shinnn","email":"snnskwtnb@gmail.com"},"dist":{"integrity":"sha512-I0sdgcFTfKQlUPZyAqPJmSG3HLO9rWDFnxonnIbskYNM3DwFOeTNB5KzVq3dA1GdRAc/25b5Y7UO2TQfKWw4aQ==","shasum":"7c9a5d7822ce079a9db40387a4b20d5654746f42","tarball":"https://registry.npmjs.org/strip-dirs/-/strip-dirs-3.0.0.tgz","fileCount":4,"unpackedSize":6259,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbmyA7CRA9TVsSAnZWagAApPkP/3+pDdgWEA7qsRFJsZ5A\nv1l0ohVhly9JOYKa9NenaLN++z2wKqXoZRID/ZXFdpRt2phkUiexguZDId+C\nj82+TwH2+K4ydR2ulxHQizRzNBjzfdXcYV3U+UUz6yWAtoj4f+AjFikzPb5Q\nh47AesCqK6Twvi11bCupCizikfgvWQUJRUQ1/HpKhBc7H/TcJ7YqSq6am68Z\nS29qqx910esf4Kz8EPVqR4ddu+6LrMMdyxjTr1v3BtDQXq2VWkokiGfZ40DV\nafzJj+imM1D4N0t1CnYoGdCgdzJCbET3/rbDr0O2amxWNJYr8k1Opqy/bySV\nSRsaK86mODjIjLqTdj5+QBXCLX7n+UwyGejr0uzCP+Br7WSnPQJtWo22Cf4L\nqKd8Remjerk39W706AGn8wahkV6LFAFFDn7mYLweagu1f2bD6YDdsrC2fBxT\ndaXxnkm+MoKlL0YCVnlomaDRVQ1KBUzwPYR1b7milpua1TbXM20b+4Y/TQPf\nmzHs5CqubIcLbSmfTLr0rDn4Nci4eu5e1VhGvubPuRJWso1di8z0Vj9Lun5w\n4yqfwJRHvP/RsWfZjYDeokK/+AGhEeYgM2/uBaQujaZHhJHdCifjBBEdKFIU\nt3NYW1DbAgNQ0KBVQj3B9zb9smqCqWPbq39hRXtPgjFhGtlwWYi6NUAaE8G1\nQXp6\r\n=tmA2\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC9Y3y7SpsGcg9jtowesdaV+Wv6lS4DTSE8WbRF7nuu9QIgCSBvKpWfYVMjfAZhoA2Mi0uj/CRsASj+VpG2PjqaA2M="}]},"maintainers":[{"name":"shinnn","email":"snnskwtnb@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/strip-dirs_3.0.0_1536892986449_0.3260128445017825"},"_hasShrinkwrap":false}},"readme":"# strip-dirs\n\n[![npm version](https://img.shields.io/npm/v/strip-dirs.svg)](https://www.npmjs.com/package/strip-dirs)\n[![Build Status](https://img.shields.io/travis/shinnn/node-strip-dirs.svg)](https://travis-ci.org/shinnn/node-strip-dirs)\n[![Build status](https://ci.appveyor.com/api/projects/status/pr5edbtg59f6xfgn?svg=true)](https://ci.appveyor.com/project/ShinnosukeWatanabe/node-strip-dirs)\n[![Coverage Status](https://img.shields.io/coveralls/shinnn/node-strip-dirs.svg)](https://coveralls.io/github/shinnn/node-strip-dirs)\n\nRemove leading directory components from a path, like [tar(1)](http://linuxcommand.org/lc3_man_pages/tar1.html)'s `--strip-components` option\n\n```javascript\nconst stripDirs = require('strip-dirs');\n\nstripDirs('foo/bar/baz', 1); //=> 'bar/baz'\nstripDirs('foo/bar/baz', 2); //=> 'baz'\nstripDirs('foo/bar/baz', 999); //=> 'baz'\n```\n\n## Installation\n\n[Use]((https://docs.npmjs.com/cli/install)) [npm](https://docs.npmjs.com/getting-started/what-is-npm).\n\n```\nnpm install strip-dirs\n```\n\n## API\n\n```javascript\nconst stripDirs = require('strip-dirs');\n```\n\n### stripDirs(*path*, *count* [, *option*])\n\n*path*: `string` (A relative path)  \n*count*: `integer` (>= `0`)  \n*option*: `Object`  \nReturn: `string`\n\nIt removes directory components from the beginning of the *path* by *count*.\n\n```javascript\nconst stripDirs = require('strip-dirs');\n\nstripDirs('foo/bar', 1); //=> 'bar'\nstripDirs('foo/bar/baz', 2); //=> 'bar'\nstripDirs('foo/././/bar/./', 1); //=> 'bar'\nstripDirs('foo/bar', 0); //=> 'foo/bar'\n\nstripDirs('/foo/bar', 1) // throw an error because the path is an absolute path\n```\n\nIf you want to remove all directory components certainly, use [`path.basename`](https://nodejs.org/api/path.html#path_path_basename_path_ext) instead of this module.\n\n#### option.disallowOverflow\n\nType: `boolean`  \nDefault: `false`\n\nBy default, it keeps the last path component when path components are fewer than the *count*.\n\nIf this option is enabled, it throws an error in this situation.\n\n```javascript\nstripDirs('foo/bar/baz', 9999); //=> 'baz'\n\nstripDirs('foo/bar/baz', 9999, {disallowOverflow: true}); // throws an range error\n```\n\n## License\n\n[ISC License](./LICENSE) © 2017 - 2018 Shinnosuke Watanabe\n","maintainers":[{"name":"shinnn","email":"snnskwtnb@gmail.com"}],"time":{"modified":"2022-06-27T01:12:14.339Z","created":"2014-08-18T18:56:20.030Z","0.0.0":"2014-08-18T18:56:20.030Z","0.1.0":"2014-08-18T19:37:11.245Z","0.1.1":"2014-08-20T15:26:26.932Z","1.0.0":"2014-11-23T12:37:30.816Z","1.0.1":"2015-01-23T19:15:01.265Z","1.1.0":"2015-02-15T05:44:40.511Z","1.1.1":"2015-02-24T11:39:09.422Z","2.0.0":"2016-05-24T10:24:45.508Z","2.1.0":"2017-10-20T10:30:42.107Z","3.0.0-0":"2018-09-12T02:28:21.157Z","3.0.0":"2018-09-14T02:43:06.645Z"},"homepage":"https://github.com/shinnn/node-strip-dirs#readme","keywords":["filepath","file-path","path","dir","directory","strip","strip-components"],"repository":{"type":"git","url":"git+https://github.com/shinnn/node-strip-dirs.git"},"author":{"name":"Shinnosuke Watanabe","url":"https://github.com/shinnn"},"bugs":{"url":"https://github.com/shinnn/node-strip-dirs/issues"},"readmeFilename":"README.md","license":"ISC"}