strip-bom
Strip UTF-8 byte order mark (BOM) from a string
7
Versions
MIT
License
No
Install Scripts
Missing
Provenance
Supply chain provenance
Status for the latest visible version.
No SLSA provenance
npm registry signatures
gitHead linked
Without SLSA provenance there is no cryptographic link between this tarball and the public source — the axios compromise (March 2026) relied on exactly this gap.
Maintainers
sindresorhus
Keywords
stripbombyteordermarkunicodeutf8utf-8removedeletetrimtextstring
Accepted risks
Findings the reviewer chose to accept rather than block on.
| Source | Rule | Reason | Accepted by | When |
|---|---|---|---|---|
| publish-pattern | new-deps-added | AI (publish-pattern): through2 is an established stream utility; its addition aligns with documented stream support in package purpose. | ai | |
| dependencies | unvetted-dep:is-utf8 | AI (dependencies): is-utf8 is a stable, minimal utility package; its use here is appropriate for UTF-8 validation. | ai | |
| provenance | no-provenance | AI (provenance): Package is 12+ years old, predates Sigstore provenance; published by highly trusted sindresorhus. Absence of provenance is expected and not a risk signal here. | ai |