Eric Foster 35b96bc934 initial commit 6 anni fa
..
index.js initial commit 6 anni fa
license initial commit 6 anni fa
package.json initial commit 6 anni fa
readme.md initial commit 6 anni fa

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