You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
王厅 539a1f95cc vue + ant-design + vxe-table 3 weeks ago
..
index.js vue + ant-design + vxe-table 3 weeks ago
license vue + ant-design + vxe-table 3 weeks ago
package.json vue + ant-design + vxe-table 3 weeks ago
readme.md vue + ant-design + vxe-table 3 weeks ago

readme.md

strip-bom-buf Build Status

Strip UTF-8 byte order mark (BOM) from a buffer

From Wikipedia:

The Unicode Standard permits the BOM in UTF-8, but does not require nor recommend its use. Byte order has no meaning in UTF-8.

Install

$ npm install --save strip-bom-buf

Usage

const fs = require('fs');
const stripBomBuf = require('strip-bom-buf');

stripBomBuf(fs.readFileSync('unicorn.txt'));
//=> 'unicorn'

License

MIT © Sindre Sorhus