Bakhtina Sofya b84cb877be 1st comm 3 هفته پیش
..
index.js b84cb877be 1st comm 3 هفته پیش
license b84cb877be 1st comm 3 هفته پیش
package.json b84cb877be 1st comm 3 هفته پیش
readme.md b84cb877be 1st comm 3 هفته پیش

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