forked from mirrors/action-gh-release
node_modules
This commit is contained in:
parent
0e414c630a
commit
78c309ef59
555 changed files with 103819 additions and 1 deletions
28
node_modules/strip-eof/readme.md
generated
vendored
Normal file
28
node_modules/strip-eof/readme.md
generated
vendored
Normal file
|
@ -0,0 +1,28 @@
|
|||
# strip-eof [](https://travis-ci.org/sindresorhus/strip-eof)
|
||||
|
||||
> Strip the [End-Of-File](https://en.wikipedia.org/wiki/End-of-file) (EOF) character from a string/buffer
|
||||
|
||||
|
||||
## Install
|
||||
|
||||
```
|
||||
$ npm install --save strip-eof
|
||||
```
|
||||
|
||||
|
||||
## Usage
|
||||
|
||||
```js
|
||||
const stripEof = require('strip-eof');
|
||||
|
||||
stripEof('foo\nbar\n\n');
|
||||
//=> 'foo\nbar\n'
|
||||
|
||||
stripEof(new Buffer('foo\nbar\n\n')).toString();
|
||||
//=> 'foo\nbar\n'
|
||||
```
|
||||
|
||||
|
||||
## License
|
||||
|
||||
MIT © [Sindre Sorhus](http://sindresorhus.com)
|
Loading…
Add table
Add a link
Reference in a new issue