htc 7ca38fdcbb 善行少年PC端首次提交(基础版) 10 mesi fa
..
index.js 7ca38fdcbb 善行少年PC端首次提交(基础版) 10 mesi fa
license 7ca38fdcbb 善行少年PC端首次提交(基础版) 10 mesi fa
package.json 7ca38fdcbb 善行少年PC端首次提交(基础版) 10 mesi fa
readme.md 7ca38fdcbb 善行少年PC端首次提交(基础版) 10 mesi fa

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