HaXeho e0dad002ed first commit 10 mēneši atpakaļ
..
index.js e0dad002ed first commit 10 mēneši atpakaļ
license e0dad002ed first commit 10 mēneši atpakaļ
package.json e0dad002ed first commit 10 mēneši atpakaļ
readme.md e0dad002ed first commit 10 mēneši atpakaļ

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