setup-python/node_modules/strip-eof
Stephen Franceschelli ec0a863019 Fix.
2019-07-30 13:16:01 -04:00
..
index.js Fix. 2019-07-30 13:16:01 -04:00
license Fix. 2019-07-30 13:16:01 -04:00
package.json Fix. 2019-07-30 13:16:01 -04:00
readme.md Fix. 2019-07-30 13:16:01 -04:00

strip-eof Build Status

Strip the End-Of-File (EOF) character from a string/buffer

Install

$ npm install --save strip-eof

Usage

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