file-is-binary 0.2.0
Returns true if a file is binary. Checks the actual contents, since extensions are not reliable. Basic wrapper for isbinaryfile to support vinyl files.
file-is-binary@0.2.0 was published on 2016-08-11. Its manifest declares 3 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-is-binary versions · Permanent reference to 0.2.0 · Latest release
Package specifications
| Version | 0.2.0 |
|---|---|
| License declaration | MIT |
| Published | 2016-08-11T19:13:30.420Z |
| Node.js requirement | >=0.10.0 |
| Type declarations | Not declared |
| Runtime dependency count | 3 |
| 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 | 23 |
| Repository stars | 6 |
| Repository forks | 0 |
Install file-is-binary 0.2.0
npm install file-is-binary@0.2.0 pnpm add file-is-binary@0.2.0 yarn add file-is-binary@0.2.0
Runtime dependencies
- file-stat ^0.2.3
- isbinaryfile ^3.0.1
- isobject ^2.1.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.
- buffer-alloc@1.2.0 — indirect
- buffer-alloc-unsafe@1.1.0 — indirect
- buffer-fill@1.0.0 — indirect
- core-util-is@1.0.3 — indirect
- file-stat@0.2.3 — direct
- fs-exists-sync@0.1.0 — indirect
- graceful-fs@4.2.11 — indirect
- inherits@2.0.4 — indirect
- is-buffer@1.1.6 — indirect
- isarray@1.0.0 — indirect
- isbinaryfile@3.0.3 — direct
- isobject@2.1.0 — direct
- kind-of@3.2.2 — indirect
- lazy-cache@2.0.2 — indirect
- process-nextick-args@2.0.1 — indirect
- readable-stream@2.3.8 — indirect
- safe-buffer@5.1.2 — indirect
- set-getter@0.1.1 — indirect
- string_decoder@1.1.1 — indirect
- through2@2.0.5 — indirect
- to-object-path@0.3.0 — indirect
- 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 |
|---|---|
| Code-Review | 0/10 — Found 0/18 approved changesets -- score normalized to 0 |
| Binary-Artifacts | 10/10 — no binaries found in the repo |
| SAST | 0/10 — no SAST tool detected |
| CII-Best-Practices | 0/10 — no effort to earn an OpenSSF best practices badge detected |
| License | 10/10 — license file detected |
| Fuzzing | 0/10 — project is not fuzzed |
| 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/file-is-binary/0.2.0 — retrieved 2026-10-29T22:30:13.307Z
- https://api.deps.dev/v3/projects/github.com%2Fjonschlinkert%2Ffile-is-binary — retrieved 2026-10-29T21:25:48.228Z
- https://api.deps.dev/v3/systems/npm/packages/file-is-binary/versions/0.2.0 — retrieved 2026-10-29T22:30:13.812Z
- https://api.deps.dev/v3/systems/npm/packages/file-is-binary/versions/0.2.0:dependencies — retrieved 2026-10-29T22:30:13.849Z