strip-bom
Advanced tools
Strip UTF-8 byte order mark (BOM) from a string
Weekly downloads
Changelog
https://github.com/sindresorhus/strip-bom/compare/v4.0.0...v5.0.0
Readme
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.
$ npm install strip-bom
import stripBom from 'strip-bom';
stripBom('\uFEFFunicorn');
//=> 'unicorn'
Strip UTF-8 byte order mark (BOM) from a string
The npm package strip-bom receives a total of 37,773,053 weekly downloads. As such, strip-bom popularity was classified as popular.
We found that strip-bom demonstrated a not healthy version release cadence and project activity because the last version was released a year ago.It has 1 open source maintainer collaborating on the project.