angular-ej1-demos/node_modules/strip-eof
SyncfusionBuild fc394c293a v20.4.0.38 2022-12-22 08:57:12 +00:00
..
index.js v20.4.0.38 2022-12-22 08:57:12 +00:00
license v20.4.0.38 2022-12-22 08:57:12 +00:00
package.json v20.4.0.38 2022-12-22 08:57:12 +00:00
readme.md v20.4.0.38 2022-12-22 08:57:12 +00:00

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