sbc

strip-bom-cli

Strip UTF-8 byte order mark (BOM)

Showing:

Popularity

Downloads/wk

231

GitHub Stars

16

Maintenance

Last Commit

1mo ago

Contributors

4

Package

Dependencies

2

License

MIT

Type Definitions

Tree-Shakeable

No?

Categories

Readme

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

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100