sindresorhus

strip-bom-cli

Strip UTF-8 byte order mark (BOM)

by sindresorhus

JavaScript

JavaScript100%

Commit activity

Last 12 weeks · 0 commits

Full graph →

Community health

4 of 6 standards met

Community profile →
71
✓README✓License✓Contributing✓Code of Conduct○Issue Template○PR Template
jasonkarns

I typically use dos2unix for stripping BOMs. The best feature of dos2unix is that it converts the file in-place. It would be super nice if strip-bom just modified the file in place. Desired usage: (proposing flag to mirror sed's in-place flag) Of course, I recognize that it prints to STDOUT, but since the target file is truncated before output redirection takes effect, one can't (results in an empty file).

jasonkarns · 1y ago
Structured data for AI agents

Repository: sindresorhus/strip-bom-cli. Description: Strip UTF-8 byte order mark (BOM) Stars: 22, Forks: 4. Primary language: JavaScript. Languages: JavaScript (100%). License: MIT. Latest release: v3.0.0 (1y ago). Open PRs: 0, open issues: 0. Last activity: 1y ago. Community health: 71%. Top contributors: sindresorhus, kevva, Richienb, ntwb.