strip-bom-cli

2.0.0 • Public • Published

strip-bom-cli

Strip UTF-8 byte order mark (BOM)

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 --global strip-bom-cli

Usage

$ strip-bom --help

  Usage
    $ strip-bom <file> > <new-file>
    $ cat <file> | strip-bom > <new-file>

  Example
    $ strip-bom unicorn.txt > unicorn-without-bom.txt

Related

Package Sidebar

Install

npm i strip-bom-cli

Weekly Downloads

86

Version

2.0.0

License

MIT

Unpacked Size

3.22 kB

Total Files

4

Last publish

Collaborators

  • sindresorhus