kiruthiga 55473b7e7c initial push 6 dienas atpakaļ
..
index.js 55473b7e7c initial push 6 dienas atpakaļ
license 55473b7e7c initial push 6 dienas atpakaļ
package.json 55473b7e7c initial push 6 dienas atpakaļ
readme.md 55473b7e7c initial push 6 dienas 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