{"_id":"strip-path","_rev":"586019","name":"strip-path","description":"Strip a path from a path","dist-tags":{"latest":"2.0.0"},"maintainers":[{"name":"sindresorhus","email":""}],"time":{"modified":"2021-08-18T23:05:47.000Z","created":"2014-02-28T22:32:50.953Z","2.0.0":"2021-08-18T23:04:09.060Z","1.0.0":"2014-08-13T17:14:12.776Z","0.1.1":"2014-03-06T11:31:03.736Z","0.1.0":"2014-02-28T22:32:50.953Z"},"users":{},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"repository":{"type":"git","url":"git+https://github.com/sindresorhus/strip-path.git"},"versions":{"2.0.0":{"name":"strip-path","version":"2.0.0","description":"Strip a path from a path","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/strip-path.git"},"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"},"keywords":["path","directory","file","strip","trim","normalize","string"],"devDependencies":{"ava":"^3.15.0","xo":"^0.44.0"},"gitHead":"35a7e50ce9c0185be250d5290fb76a6336927895","bugs":{"url":"https://github.com/sindresorhus/strip-path/issues"},"homepage":"https://github.com/sindresorhus/strip-path#readme","_id":"strip-path@2.0.0","_nodeVersion":"16.6.2","_npmVersion":"7.20.3","dist":{"shasum":"21570d6bd3ff0e35cf4e050d3bee8fcf6a76eef0","size":1523,"noattachment":false,"key":"/strip-path/-/strip-path-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/strip-path/download/strip-path-2.0.0.tgz"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"directories":{},"maintainers":[{"name":"sindresorhus","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/strip-path_2.0.0_1629327848895_0.42230236393721476"},"_hasShrinkwrap":false,"publish_time":1629327849060,"_cnpm_publish_time":1629327849060},"1.0.0":{"name":"strip-path","version":"1.0.0","description":"Strip a path from a path","license":"MIT","repository":{"type":"git","url":"git://github.com/sindresorhus/strip-path"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"http://sindresorhus.com"},"engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"files":["index.js"],"keywords":["path","dir","directory","file","strip","trim","normalize","string","str"],"devDependencies":{"mocha":"*"},"gitHead":"21f2e38af26240e15b043299ed2fa277047b178f","bugs":{"url":"https://github.com/sindresorhus/strip-path/issues"},"homepage":"https://github.com/sindresorhus/strip-path","_id":"strip-path@1.0.0","_shasum":"1950cb7ebd96c35ad44cbdb810c578ad446b74e0","_from":".","_npmVersion":"1.4.14","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"maintainers":[{"name":"sindresorhus","email":""}],"dist":{"shasum":"1950cb7ebd96c35ad44cbdb810c578ad446b74e0","size":906,"noattachment":false,"key":"/strip-path/-/strip-path-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/strip-path/download/strip-path-1.0.0.tgz"},"directories":{},"publish_time":1407950052776,"_cnpm_publish_time":1407950052776,"_hasShrinkwrap":false},"0.1.1":{"name":"strip-path","version":"0.1.1","description":"Strip a path from a path","license":"MIT","repository":{"type":"git","url":"git://github.com/sindresorhus/strip-path"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"http://sindresorhus.com"},"engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"files":["index.js"],"keywords":["path","dir","directory","file","strip","trim","normalize","string","str"],"devDependencies":{"mocha":"*"},"bugs":{"url":"https://github.com/sindresorhus/strip-path/issues"},"homepage":"https://github.com/sindresorhus/strip-path","_id":"strip-path@0.1.1","dist":{"shasum":"bcb9289e106b91817b8520491b4387ca4f8683d2","size":922,"noattachment":false,"key":"/strip-path/-/strip-path-0.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/strip-path/download/strip-path-0.1.1.tgz"},"_from":".","_npmVersion":"1.4.4","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"maintainers":[{"name":"sindresorhus","email":""}],"directories":{},"publish_time":1394105463736,"_hasShrinkwrap":false,"_cnpm_publish_time":1394105463736},"0.1.0":{"name":"strip-path","version":"0.1.0","description":"Strip a path from a path","license":"MIT","repository":{"type":"git","url":"git://github.com/sindresorhus/strip-path"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"http://sindresorhus.com"},"engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"files":["index.js"],"keywords":["path","dir","directory","file","strip","trim","normalize","string","str"],"devDependencies":{"mocha":"*"},"bugs":{"url":"https://github.com/sindresorhus/strip-path/issues"},"homepage":"https://github.com/sindresorhus/strip-path","_id":"strip-path@0.1.0","dist":{"shasum":"46281c45f8a4d4dbf8a4567a8a0509b101a6f922","size":917,"noattachment":false,"key":"/strip-path/-/strip-path-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/strip-path/download/strip-path-0.1.0.tgz"},"_from":".","_npmVersion":"1.4.4","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"maintainers":[{"name":"sindresorhus","email":""}],"directories":{},"publish_time":1393626770953,"_hasShrinkwrap":false,"_cnpm_publish_time":1393626770953}},"readme":"# strip-path\n\n> Strip a path from a path\n\n## Install\n\n```\n$ npm install strip-path\n```\n\n## Usage\n\n```js\nimport stripPath from 'strip-path';\n\nstripPath('path1/path2/path3/path4', 'path1/path2');\n//=> 'path3/path4'\n```\n\n## API\n\n### stripPath(path, stripPath)\n\n#### path\n\n*Required*\\\nType: `string`  \n\nThe path to stripped.\n\n#### stripPath\n\n*Required*\\\nType: `string`  \n\nThe path to strip from `path`.\n","_attachments":{},"homepage":"https://github.com/sindresorhus/strip-path#readme","bugs":{"url":"https://github.com/sindresorhus/strip-path/issues"},"license":"MIT"}