Bolshakova Anna ab21a11190 lab 3 weken geleden
..
index.js ab21a11190 lab 3 weken geleden
license ab21a11190 lab 3 weken geleden
package.json ab21a11190 lab 3 weken geleden
readme.md ab21a11190 lab 3 weken geleden

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