btc_horse/btc-UI/electron/node_modules/strip-bom
2025-07-08 10:33:49 +05:30
..
index.js Hoese UI needs fixing 2025-07-08 10:33:49 +05:30
license Hoese UI needs fixing 2025-07-08 10:33:49 +05:30
package.json Hoese UI needs fixing 2025-07-08 10:33:49 +05:30
readme.md Hoese UI needs fixing 2025-07-08 10:33:49 +05:30

strip-bom Build Status

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

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

Usage

const stripBom = require('strip-bom');

stripBom('\uFEFFunicorn');
//=> 'unicorn'

License

MIT © Sindre Sorhus