file-contents 0.2.3
Set the `contents` property on a file object. Abstraction from vinyl-fs to support stream or non-stream usage.
file-contents@0.2.3 was published on 2015-10-09. Its manifest declares 5 runtime dependencies and 0 peer requirements. Bundled type declarations are not declared in the inspected metadata. The declared Node.js requirement is >=0.10.0.
All file-contents versions · Permanent reference to 0.2.3 · Latest release
Package specifications
| Version | 0.2.3 |
|---|---|
| License declaration | MIT |
| Published | 2015-10-09T03:10:08.425Z |
| Node.js requirement | >=0.10.0 |
| Type declarations | Not declared |
| Runtime dependency count | 5 |
| 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 | 15 |
| Repository stars | 8 |
| Repository forks | 0 |
Install file-contents 0.2.3
npm install file-contents@0.2.3 pnpm add file-contents@0.2.3 yarn add file-contents@0.2.3
Runtime dependencies
- extend-shallow ^2.0.0
- file-stat ^0.1.0
- graceful-fs ^4.1.2
- lazy-cache ^0.2.3
- through2 ^2.0.0
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.
- core-util-is@1.0.3 — indirect
- extend-shallow@2.0.1 — direct
- file-stat@0.1.3 — direct
- graceful-fs@4.2.11 — direct
- inherits@2.0.4 — indirect
- is-extendable@0.1.1 — indirect
- isarray@1.0.0 — indirect
- lazy-cache@0.2.7 — direct
- process-nextick-args@2.0.1 — indirect
- readable-stream@2.3.8 — indirect
- safe-buffer@5.1.2 — indirect
- string_decoder@1.1.1 — indirect
- through2@2.0.5 — direct
- util-deprecate@1.0.2 — indirect
- xtend@4.0.2 — 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.
| 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 |
| Code-Review | 0/10 — Found 0/30 approved changesets -- score normalized to 0 |
| Binary-Artifacts | 10/10 — no binaries found in the repo |
| 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 |
| Security-Policy | 0/10 — security policy file not detected |
| Branch-Protection | 0/10 — branch protection not enabled on development/release branches |
Evidence and freshness
- https://registry.npmjs.org/file-contents/0.2.3 — retrieved 2026-10-29T22:54:52.479Z
- https://api.deps.dev/v3/projects/github.com%2Fjonschlinkert%2Ffile-contents — retrieved 2026-10-29T21:25:51.483Z
- https://api.deps.dev/v3/systems/npm/packages/file-contents/versions/0.2.3 — retrieved 2026-10-29T22:54:52.986Z
- https://api.deps.dev/v3/systems/npm/packages/file-contents/versions/0.2.3:dependencies — retrieved 2026-10-29T22:54:53.002Z