cwd 0.8.2
Easily get the CWD (current working directory) of a project based on package.json, optionally starting from a given path. (Node.js/javascript util)
cwd@0.8.2 was published on 2015-10-20. Its manifest declares 2 runtime dependencies and 0 peer requirements. Bundled type declarations are not declared in the inspected metadata. The declared Node.js requirement is >=0.8.
All cwd versions · Permanent reference to 0.8.2 · Latest release
Package specifications
| Version | 0.8.2 |
|---|---|
| License declaration | MIT |
| Published | 2015-10-20T03:55:39.844Z |
| Node.js requirement | >=0.8 |
| Type declarations | Not declared |
| Runtime dependency count | 2 |
| Peer requirement count | 0 |
| Optional dependency count | 0 |
| Minified size | Measurement not available yet |
| Minified + gzip | Measurement not available yet |
| Unpacked distribution size | Not supplied |
| Published file count | Not supplied |
| Package type | Not declared |
| ES module entry | Not declared |
| Default entry | index.js |
| Side effects declaration | Not declared |
| Direct advisories | 0 |
| Resolved graph dependencies | 52 |
| Repository stars | 13 |
| Repository forks | 2 |
Install cwd 0.8.2
npm install cwd@0.8.2 pnpm add cwd@0.8.2 yarn add cwd@0.8.2
Runtime dependencies
- lazy-cache ^0.2.3
- look-up ^0.8.1
Peer requirements
- None declared
Optional dependencies
- None declared
Resolved dependency graph
This deps.dev graph describes a generic 64-bit Linux environment, not your application lockfile.
- arr-diff@2.0.0 — indirect
- arr-flatten@1.1.0 — indirect
- array-unique@0.2.1 — indirect
- braces@1.8.5 — indirect
- expand-brackets@0.1.5 — indirect
- expand-range@1.8.2 — indirect
- expand-tilde@1.2.2 — indirect
- extglob@0.3.2 — indirect
- filename-regex@2.0.1 — indirect
- fill-range@2.2.4 — indirect
- for-in@1.0.2 — indirect
- for-own@0.1.5 — indirect
- glob-base@0.3.0 — indirect
- glob-parent@2.0.0 — indirect
- global-modules@0.2.3 — indirect
- global-prefix@0.1.5 — indirect
- homedir-polyfill@1.0.3 — indirect
- ini@1.3.8 — indirect
- is-buffer@1.1.6 — indirect
- is-dotfile@1.0.3 — indirect
- is-equal-shallow@0.1.3 — indirect
- is-extendable@0.1.1 — indirect
- is-extglob@1.0.0 — indirect
- is-glob@2.0.1 — indirect
- is-number@2.1.0 — indirect
- is-number@4.0.0 — indirect
- is-posix-bracket@0.1.1 — indirect
- is-primitive@2.0.0 — indirect
- is-windows@0.2.0 — indirect
- isarray@1.0.0 — indirect
- isexe@2.0.0 — indirect
- isobject@2.1.0 — indirect
- kind-of@3.2.2 — indirect
- kind-of@6.0.3 — indirect
- lazy-cache@0.2.7 — direct
- lazy-cache@1.0.4 — indirect
- look-up@0.8.3 — direct
- math-random@1.0.4 — indirect
- micromatch@2.3.11 — indirect
- normalize-path@2.1.1 — indirect
- object.omit@2.0.1 — indirect
- os-homedir@1.0.2 — indirect
- parse-glob@3.0.4 — indirect
- parse-passwd@1.0.0 — indirect
- preserve@0.2.0 — indirect
- randomatic@3.1.1 — indirect
- regex-cache@0.4.4 — indirect
- remove-trailing-separator@1.1.0 — indirect
- repeat-element@1.1.4 — indirect
- repeat-string@1.6.1 — indirect
- resolve-dir@0.1.1 — indirect
- which@1.3.1 — indirect
How to interpret the specifications
Bundlephobia measurements use its standard package build and may exclude peer dependencies. Unpacked npm distribution size includes shipped files and is a different measurement. Module declarations do not prove tree-shaking or runtime compatibility.
Advisories apply to this package version directly; transitive dependencies need separate inspection. Repository signals describe the whole repository and are current observations, including on historical-version pages.
OpenSSF repository checks
Provider assessment: 2026-08-24T00:00:00Z. These are repository checks, not a jsL maintenance score.
| Code-Review | 0/10 — Found 0/30 approved changesets -- score normalized to 0 |
|---|---|
| Binary-Artifacts | 10/10 — no binaries found in the repo |
| Maintained | 0/10 — 0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0 |
| SAST | 0/10 — no SAST tool detected |
| CII-Best-Practices | 0/10 — no effort to earn an OpenSSF best practices badge detected |
| Fuzzing | 0/10 — project is not fuzzed |
| License | 10/10 — license file detected |
| Branch-Protection | 0/10 — branch protection not enabled on development/release branches |
| Security-Policy | 0/10 — security policy file not detected |
Evidence and freshness
- https://registry.npmjs.org/cwd/0.8.2 — retrieved 2026-10-29T21:54:52.970Z
- https://api.deps.dev/v3/projects/github.com%2Fjonschlinkert%2Fcwd — retrieved 2026-10-29T21:24:11.356Z
- https://api.deps.dev/v3/systems/npm/packages/cwd/versions/0.8.2 — retrieved 2026-10-29T21:54:53.471Z
- https://api.deps.dev/v3/systems/npm/packages/cwd/versions/0.8.2:dependencies — retrieved 2026-10-29T21:54:53.494Z