file-type

v16.0.0

Detect the file type of a Buffer/Uint8Array/ArrayBuffer

MIT
Latest version published 3 days ago
    npm install file-type
  

Package Health Score

87 / 100
  • Popularity
    Influential project
  • Maintenance
    Healthy
  • Security
    No known security issues
  • Community
    Sustainable

Popularity

Influential project
Weekly Downloads (17,496,742)
Dependents
1.06K
GitHub Stars
1.84K
Forks
216
Contributors
76

The npm package file-type receives a total of 17,496,742 downloads a week. As such, we scored file-type popularity level to be Influential project.

Based on project statistics from the GitHub repository for the npm package file-type, we found that it has been starred 1,845 times, and that 1,065 other projects on 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.

Security

No known security issues

Security and license risk for recent versions


Direct Vulnerabilities

14.7.0
14.7.1
15.0.0
15.0.1
16.0.0
  • 0
    H
  • 0
    M
  • 0
    L
  • 0
    H
  • 0
    M
  • 0
    L
  • 0
    H
  • 0
    M
  • 0
    L
  • 0
    H
  • 0
    M
  • 0
    L
  • 0
    H
  • 0
    M
  • 0
    L

Indirect Vulnerabilities

14.7.0
14.7.1
15.0.0
15.0.1
16.0.0
  • 0
    H
  • 0
    M
  • 0
    L
  • 0
    H
  • 0
    M
  • 0
    L
  • 0
    H
  • 0
    M
  • 0
    L
  • 0
    H
  • 0
    M
  • 0
    L
  • 0
    H
  • 0
    M
  • 0
    L

License Risks

14.7.0
14.7.1
15.0.0
15.0.1
16.0.0
  • 0
    H
  • 0
    M
  • 0
    L
  • 0
    H
  • 0
    M
  • 0
    L
  • 0
    H
  • 0
    M
  • 0
    L
  • 0
    H
  • 0
    M
  • 0
    L
  • 0
    H
  • 0
    M
  • 0
    L

Security Policy
No
All security vulnerabilities belong to production dependencies of direct and indirect packages.

You can connect your project's repository to Snyk to stay up to date on security alerts and receive automatic fix pull requests.

We found a way for you to contribute to the project! Looks like file-type is missing a security policy.

    # Install the Snyk CLI and test your project
npm i snyk && snyk test file-type
Fix it in your project with Snyk!

Maintenance

Healthy
Commit Frequency
Open Issues
4
Merged PR
163
Open PR
2
Last Commit
3 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 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.

Community

Sustainable
Readme.md
No
Contributing.md
No
Code of Conduct
No
Contributors
76
Funding
Yes
License
MIT

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

We found a way for you to contribute to the project! Looks like file-type is missing a Code of Conduct.

Package

Node.js Compatibility
>=8

Age
7 years
Dependencies
4 Direct / 9 Total
Versions
5
Install Size
73.2 kB
Dist-tags
1
# of Files
11
Maintainers
2
TS Typings
No

We detected a total of 9 direct & transitive dependencies for file-type. See the full dependency tree of file-type

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.