goreleaser-action/node_modules/strip-outer
CrazyMax 730e0e9d77
Update node_modules
2019-11-14 23:36:55 +01:00
..
index.js Initial commit 2019-09-20 22:23:46 +02:00
license Initial commit 2019-09-20 22:23:46 +02:00
package.json Update node_modules 2019-11-14 23:36:55 +01:00
readme.md Initial commit 2019-09-20 22:23:46 +02:00

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