Bakhtina Sofya b84cb877be 1st comm 3 týždňov pred
..
node_modules b84cb877be 1st comm 3 týždňov pred
index.js b84cb877be 1st comm 3 týždňov pred
license b84cb877be 1st comm 3 týždňov pred
package.json b84cb877be 1st comm 3 týždňov pred
readme.md b84cb877be 1st comm 3 týždňov pred

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