{"_id":"strip-outer","_rev":"593448","name":"strip-outer","description":"Strip a substring from the start/end of a string","dist-tags":{"latest":"2.0.0"},"maintainers":[{"name":"npm:sindresorhus","email":""},{"name":"sindresorhus","email":""}],"time":{"modified":"2021-08-19T17:55:47.000Z","created":"2015-01-16T15:41:15.438Z","2.0.0":"2021-08-19T17:48:25.747Z","1.0.1":"2018-03-23T05:41:37.584Z","1.0.0":"2015-01-16T15:41:15.438Z"},"users":{},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"repository":{"type":"git","url":"git+https://github.com/sindresorhus/strip-outer.git"},"versions":{"2.0.0":{"name":"strip-outer","version":"2.0.0","description":"Strip a substring from the start/end of a string","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/strip-outer.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":["strip","trim","remove","outer","string","substring","start","end","wrap","leading","trailing"],"devDependencies":{"ava":"^3.15.0","xo":"^0.44.0"},"gitHead":"68666570990c50d0adc4b4d2c5035ed6be8b9545","bugs":{"url":"https://github.com/sindresorhus/strip-outer/issues"},"homepage":"https://github.com/sindresorhus/strip-outer#readme","_id":"strip-outer@2.0.0","_nodeVersion":"16.6.2","_npmVersion":"7.20.3","dist":{"shasum":"c45c724ed9b1ff6be5f660503791404f4714084b","size":1431,"noattachment":false,"key":"/strip-outer/-/strip-outer-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/strip-outer/download/strip-outer-2.0.0.tgz"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"directories":{},"maintainers":[{"name":"npm:sindresorhus","email":""},{"name":"sindresorhus","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/strip-outer_2.0.0_1629395305139_0.9580548939938482"},"_hasShrinkwrap":false,"publish_time":1629395305747,"_cnpm_publish_time":1629395305747},"1.0.1":{"name":"strip-outer","version":"1.0.1","description":"Strip a substring from the start/end of a string","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/strip-outer.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=0.10.0"},"scripts":{"test":"xo && ava"},"files":["index.js"],"keywords":["strip","trim","remove","outer","str","string","substring","start","end","wrap","leading","trailing","regex","regexp"],"dependencies":{"escape-string-regexp":"^1.0.2"},"devDependencies":{"ava":"*","xo":"*"},"gitHead":"b7222dc2b9a7191f644ed55a18b8ea5c3dac09a7","bugs":{"url":"https://github.com/sindresorhus/strip-outer/issues"},"homepage":"https://github.com/sindresorhus/strip-outer#readme","_id":"strip-outer@1.0.1","_npmVersion":"5.6.0","_nodeVersion":"8.10.0","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"b2fd2abf6604b9d1e6013057195df836b8a9d631","size":1534,"noattachment":false,"key":"/strip-outer/-/strip-outer-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/strip-outer/download/strip-outer-1.0.1.tgz"},"maintainers":[{"name":"npm:sindresorhus","email":""},{"name":"sindresorhus","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/strip-outer_1.0.1_1521783697502_0.5063984965684791"},"_hasShrinkwrap":false,"publish_time":1521783697584,"_cnpm_publish_time":1521783697584},"1.0.0":{"name":"strip-outer","version":"1.0.0","description":"Strip a substring from the start/end of a string","license":"MIT","repository":{"type":"git","url":"https://github.com/sindresorhus/strip-outer"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=0.10.0"},"scripts":{"test":"node test.js"},"files":["index.js"],"keywords":["strip","trim","remove","outer","str","string","substring","start","end","wrap","leading","trailing","regex","regexp"],"dependencies":{"escape-string-regexp":"^1.0.2"},"devDependencies":{"ava":"0.0.4"},"gitHead":"e962859c3539d92ad9febf857885e2ea15cb8297","bugs":{"url":"https://github.com/sindresorhus/strip-outer/issues"},"homepage":"https://github.com/sindresorhus/strip-outer","_id":"strip-outer@1.0.0","_shasum":"aac0ba60d2e90c5d4f275fd8869fd9a2d310ffb8","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"maintainers":[{"name":"npm:sindresorhus","email":""},{"name":"sindresorhus","email":""}],"dist":{"shasum":"aac0ba60d2e90c5d4f275fd8869fd9a2d310ffb8","size":860,"noattachment":false,"key":"/strip-outer/-/strip-outer-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/strip-outer/download/strip-outer-1.0.0.tgz"},"directories":{},"publish_time":1421422875438,"_cnpm_publish_time":1421422875438,"_hasShrinkwrap":false}},"readme":"# strip-outer\n\n> Strip a substring from the start/end of a string\n\n## Install\n\n```\n$ npm install strip-outer\n```\n\n## Usage\n\n```js\nimport stripOuter from 'strip-outer';\n\nstripOuter('foobarfoo', 'foo');\n//=> 'bar'\n\nstripOuter('unicorncake', 'unicorn');\n//=> 'cake'\n```\n","_attachments":{},"homepage":"https://github.com/sindresorhus/strip-outer#readme","bugs":{"url":"https://github.com/sindresorhus/strip-outer/issues"},"license":"MIT"}