ghaction-upx/node_modules/strip-outer
2020-01-17 09:39:25 +01:00
..
index.js Update node_modules 2020-01-17 09:39:25 +01:00
license Update node_modules 2020-01-17 09:39:25 +01:00
package.json Update node_modules 2020-01-17 09:39:25 +01:00
readme.md Update node_modules 2020-01-17 09:39:25 +01: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