CityBEM-CityLayers-SaeedRay.../node_modules/strip-bom
2024-11-05 15:01:14 -05:00
..
index.js This commit pushes the node_modules folder separately due to its large size. 2024-11-05 15:01:14 -05:00
license This commit pushes the node_modules folder separately due to its large size. 2024-11-05 15:01:14 -05:00
package.json This commit pushes the node_modules folder separately due to its large size. 2024-11-05 15:01:14 -05:00
readme.md This commit pushes the node_modules folder separately due to its large size. 2024-11-05 15:01:14 -05:00

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