Bakhtina Sofya b84cb877be 1st comm 3 주 전
..
node_modules b84cb877be 1st comm 3 주 전
index.js b84cb877be 1st comm 3 주 전
license b84cb877be 1st comm 3 주 전
package.json b84cb877be 1st comm 3 주 전
readme.md b84cb877be 1st comm 3 주 전

readme.md

strip-outer Build Status

Strip a substring from the start/end of a string

Install

$ npm install --save strip-outer

Usage

const stripOuter = require('strip-outer');

stripOuter('foobarfoo', 'foo');
//=> 'bar'

stripOuter('unicorncake', 'unicorn');
//=> 'cake'

License

MIT © Sindre Sorhus