conventional-changelog-action/node_modules/strip-bom
Conventional Changelog Action 1af857c6a9 chore(release): v3.9.5 2021-10-05 21:52:13 +00:00
..
index.js chore(release): v3.9.5 2021-10-05 21:52:13 +00:00
license chore(release): v3.9.5 2021-10-05 21:52:13 +00:00
package.json chore(release): v3.9.5 2021-10-05 21:52:13 +00:00
readme.md chore(release): v3.9.5 2021-10-05 21:52:13 +00:00

readme.md

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