caoge c760052ff9 机车状态修改 il y a 8 mois
..
index.js c760052ff9 机车状态修改 il y a 8 mois
license c760052ff9 机车状态修改 il y a 8 mois
package.json c760052ff9 机车状态修改 il y a 8 mois
readme.md c760052ff9 机车状态修改 il y a 8 mois

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