file-type

v17.1.1

Detect the file type of a Buffer/Uint8Array/ArrayBuffer

MIT
Latest version published 5 months ago
    npm install file-type
  

Package Health Score

93 / 100

Security

No known security issues
Powered by Snyk
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
17.1.1 | 12/2021
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
  • 0
    H
  • 0
    M
  • 0
    L
17.0.2 | 12/2021
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
  • 0
    H
  • 0
    M
  • 0
    L
16.5.3 | 08/2021
Popular
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
  • 0
    H
  • 0
    M
  • 0
    L
15.0.1 | 09/2020
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
  • 0
    H
  • 0
    M
  • 0
    L
3.9.0 | 10/2016
  • 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.

# Install the Snyk CLI and test your project
npm i snyk -g && snyk test file-type
Get started free

Popularity

Key ecosystem project

Weekly Downloads (18,439,840)

Download trend
Dependents
1.11K
GitHub Stars
2.55K
Forks
276
Contributors
90

Direct Usage Popularity

TOP 5%

The npm package file-type receives a total of 18,439,840 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 2,549 times, and that 1,112 other projects in the ecosystem are dependent on it.

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
90
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: 93/100 package health 93/100

Maintenance

Healthy

Commit Frequency

Open Issues
22
Open PR
4
Last Release
5 months ago
Last Commit
25 days 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 12 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
^12.20.0 || ^14.13.1 || >=16.0.0

Age
8 years
Dependencies
3 Direct
Versions
127
Install Size
81.6 kB
Dist-tags
1
# of Files
11
Maintainers
2
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.