mirror of
https://github.com/crazy-max/ghaction-upx.git
synced 2024-12-23 08:36:09 -07:00
.. | ||
index.js | ||
license | ||
package.json | ||
readme.md |
strip-outer
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