ubdate
This commit is contained in:
28
node_modules/strip-outer/readme.md
generated
vendored
Normal file
28
node_modules/strip-outer/readme.md
generated
vendored
Normal file
@@ -0,0 +1,28 @@
|
||||
# strip-outer [](https://travis-ci.org/sindresorhus/strip-outer)
|
||||
|
||||
> Strip a substring from the start/end of a string
|
||||
|
||||
|
||||
## Install
|
||||
|
||||
```
|
||||
$ npm install --save strip-outer
|
||||
```
|
||||
|
||||
|
||||
## Usage
|
||||
|
||||
```js
|
||||
const stripOuter = require('strip-outer');
|
||||
|
||||
stripOuter('foobarfoo', 'foo');
|
||||
//=> 'bar'
|
||||
|
||||
stripOuter('unicorncake', 'unicorn');
|
||||
//=> 'cake'
|
||||
```
|
||||
|
||||
|
||||
## License
|
||||
|
||||
MIT © [Sindre Sorhus](https://sindresorhus.com)
|
||||
Reference in New Issue
Block a user