Feuerwehr-eppingen/node_modules/strip-outer
2020-06-04 13:20:10 +02:00
..
index.js Umzug auf Synology NAS 2020-06-04 13:20:10 +02:00
license Umzug auf Synology NAS 2020-06-04 13:20:10 +02:00
package.json Umzug auf Synology NAS 2020-06-04 13:20:10 +02:00
readme.md Umzug auf Synology NAS 2020-06-04 13:20:10 +02:00

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