file-type

v19.0.0

Detect the file type of a Buffer/Uint8Array/ArrayBuffer For more information about how to use this package see README

Latest version published 2 months ago
License: MIT

Ensure you're using the healthiest npm packages

Snyk scans all the packages in your projects for vulnerabilities and provides automated fix advice

Package Health Score

94 / 100

Security

No known security issues
All security vulnerabilities belong to production dependencies of direct and indirect packages.

Security and license risk for significant versions

All Versions
Version Vulnerabilities License Risk
19.0.0 | 01/2024
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
  • 0
    H
  • 0
    M
  • 0
    L
18.7.0 | 11/2023
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
  • 0
    H
  • 0
    M
  • 0
    L
17.1.6 | 08/2022
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
  • 0
    H
  • 0
    M
  • 0
    L
16.5.4 | 07/2022
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
  • 0
    H
  • 0
    M
  • 0
    L
5.2.0 | 06/2017
Popular
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
  • 0
    H
  • 0
    M
  • 0
    L
License
MIT
Security Policy
Yes

Is your project affected by vulnerabilities?

Scan your projects for vulnerabilities. Fix quickly with automated fixes. Get started with Snyk for free.

Get started free

Popularity

Key ecosystem project

Weekly Downloads (21,032,171)

Download trend
GitHub Stars
3.44K
Forks
337
Contributors
100

Direct Usage Popularity

TOP 5%

The npm package file-type receives a total of 21,032,171 downloads a week. As such, we scored file-type popularity level to be Key ecosystem project.

Based on project statistics from the GitHub repository for the npm package file-type, we found that it has been starred 3,437 times.

Downloads are calculated as moving averages for a period of the last 12 months, excluding weekends and known missing data points.

Community

Active
Readme.md
Yes
Contributing.md
Yes
Code of Conduct
Yes
Contributors
100
Funding
Yes

With more than 10 contributors for the file-type repository, this is possibly a sign for a growing and inviting community.


Embed Package Health Score Badge

package health: 94/100 package health 94/100

Maintenance

Healthy

Commit Frequency

Open Issues
20
Open PR
0
Last Release
2 months ago
Last Commit
2 months ago

Further analysis of the maintenance status of file-type based on released npm versions cadence, the repository activity, and other data points determined that its maintenance is Healthy.

We found that file-type demonstrates a positive version release cadence with at least one new version released in the past 3 months.

As a healthy sign for on-going project maintenance, we found that the GitHub repository had at least 1 pull request or issue interacted with by the community.

Package

Node.js Compatibility
>=18

Age
10 years
Dependencies
3 Direct
Versions
143
Install Size
92.1 kB
Dist-tags
2
# of Files
11
Maintainers
1
TS Typings
No

file-type has more than a single and default latest tag published for the npm package. This means, there may be other tags available for this package, such as next to indicate future releases, or stable to indicate stable releases.