← Home

is-dotfile

Return true if a file path is (or has) a dotfile. Returns false if the path is a dot directory.

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

doowbjonschlinkert

Keywords

detectdotdotfileexpressionfilefilepathfindfsismatchpathregexregexpregular

Accepted risks

Findings the reviewer chose to accept rather than block on.

SourceRuleReasonAccepted byWhen
provenance no-provenance AI (provenance): Package is 4107 days old and predates Sigstore provenance; absence is expected and not a risk signal for this established package. ai

Versions (showing 7 of 7)

Version Deps Published
2.0.0 1 / 4
1.0.3 0 / 4
1.0.2 0 / 3
1.0.1 0 / 3
1.0.0 0 / 4
0.1.1 1 / 2
0.1.0 0 / 2