Eric Foster 35b96bc934 initial commit 6 anos atrás
..
index.js initial commit 6 anos atrás
license initial commit 6 anos atrás
package.json initial commit 6 anos atrás
readme.md initial commit 6 anos atrás

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