← Home

cwd

Easily get the CWD (current working directory) of a project based on package.json, optionally starting from a given path. (node.js/javascript util)

25
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, so a manually published version cannot be tied back to a reviewed commit.

Maintainers

jonschlinkert

Keywords

currentcwddirdirectoryfilefilepathpathpathsprocessprocess.cwdresolveresolvedworking

Accepted risks

Findings the reviewer chose to accept rather than block on.

SourceRuleReasonAccepted byWhen
typosquat typosquat.levenshtein:zod AI (typosquat): cwd is a 12+ year old package for resolving the current working directory, completely unrelated to zod. The Levenshtein match is a false positive; cwd predates zod and has 2.4M weekly downloads. ai

Versions (showing 25 of 25)

Version Deps Published
0.10.0 2 / 3
0.9.1 1 / 2
0.9.0 1 / 2
0.8.4 2 / 2
0.8.3 2 / 2
0.8.2 2 / 2
0.8.1 2 / 2
0.8.0 2 / 2
0.7.0 1 / 2
0.6.0 1 / 3
0.5.1 1 / 3
0.5.0 1 / 3
0.4.0 1 / 3
0.3.7 2 / 3
0.3.6 3 / 3
0.3.5 2 / 3
0.3.4 2 / 3
0.3.3 1 / 3
0.3.1 1 / 2
0.3.0 1 / 2
0.2.2 1 / 0
0.2.1 2 / 0
0.2.0 2 / 0
0.1.1 2 / 0
0.1.0 2 / 0