file-type 19.6.0

Detect the file type of a file, stream, or data

file-type@19.6.0 was published on 2024-10-13. Its manifest declares 4 runtime dependencies and 0 peer requirements. Type declarations are bundled according to the package metadata. The declared Node.js requirement is >=18.

All file-type versions · Permanent reference to 19.6.0 · Latest release

Package specifications

Version19.6.0
License declarationMIT
Published2024-10-13T20:06:36.909Z
Node.js requirement>=18
Type declarationsBundled declarations
Runtime dependency count4
Peer requirement count0
Optional dependency count0
Minified sizeMeasurement not available yet
Minified + gzipMeasurement not available yet
Unpacked distribution size98.31 KiB
Published file count9
Package typemodule
ES module entryNot declared
Default entryNot declared
Side effects declarationfalse
Direct advisories1
Resolved graph dependencies10
Repository stars4339
Repository forks398

Install file-type 19.6.0

npm install file-type@19.6.0
pnpm add file-type@19.6.0
yarn add file-type@19.6.0

Runtime dependencies

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.

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.

Known direct advisories

OpenSSF repository checks

Provider assessment: 2026-08-24T00:00:00Z. These are repository checks, not a jsL maintenance score.

Maintained2/10 — 3 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 2
Dangerous-Workflow10/10 — no dangerous workflow patterns detected
Security-Policy9/10 — security policy file detected
Token-Permissions0/10 — detected GitHub workflow tokens with excessive permissions
CII-Best-Practices0/10 — no effort to earn an OpenSSF best practices badge detected
Code-Review0/10 — Found 0/30 approved changesets -- score normalized to 0
SAST0/10 — no SAST tool detected
Binary-Artifacts0/10 — binaries present in source code
License10/10 — license file detected
Fuzzing0/10 — project is not fuzzed
Pinned-Dependencies0/10 — dependency not pinned by hash detected -- score normalized to 0
Branch-Protection0/10 — branch protection not enabled on development/release branches

Evidence and freshness