Kevin 29b9a0c50c clean && clean html base %!s(int64=4) %!d(string=hai) anos
..
index.js 29b9a0c50c clean && clean html base %!s(int64=4) %!d(string=hai) anos
license 29b9a0c50c clean && clean html base %!s(int64=4) %!d(string=hai) anos
package.json 29b9a0c50c clean && clean html base %!s(int64=4) %!d(string=hai) anos
readme.md 29b9a0c50c clean && clean html base %!s(int64=4) %!d(string=hai) anos

readme.md

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