Irina Glushko 2389e7160b HW1 done il y a 3 ans
..
index.js 2389e7160b HW1 done il y a 3 ans
license 2389e7160b HW1 done il y a 3 ans
package.json 2389e7160b HW1 done il y a 3 ans
readme.md 2389e7160b HW1 done il y a 3 ans

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