← Home

filenamify

Convert a string to a valid safe filename

3
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

filenamesafesanitizefilenamestringpathfilepathconvertvaliddirname

Accepted risks

Findings the reviewer chose to accept rather than block on.

SourceRuleReasonAccepted byWhen
dependencies unvetted-dep:filename-reserved-regex AI (dependencies): filename-reserved-regex is a companion package by sindresorhus, the same trusted author; it is the expected and documented dependency for filenamify across all versions. ai

Versions (showing 3 of 3)

Version Deps Published
7.0.1 1 / 2
7.0.0 1 / 2
4.2.0 3 / 3

v7.0.1

1 finding
LOW No provenance attestation provenance

Package was published without Sigstore provenance. Only ~12% of npm packages have provenance, so this is common but not ideal.

v7.0.0

1 finding
LOW No provenance attestation provenance

Package was published without Sigstore provenance. Consider requesting the maintainer enable provenance via CI/CD.

v4.2.0

1 finding
LOW No provenance attestation provenance

Package was published without Sigstore provenance. Only ~12% of npm packages have provenance, so this is common but not ideal.