detect-content-type

npmv1.2.0

detect-content-type implements the algorithm described at http://mimesniff.spec.whatwg.org/ to determine the Content-Type of the given data. It considers at most the first 512 bytes of data. It always returns a valid MIME type: if it cannot determine a mo

License MITpermissive4 versions1 maintainers0 deps141,712 weekly dl
deepakjois/node-detect-content-type
53
/ 100
Health
safe to use

[email protected] is safe to use (health: 53/100)

Health breakdown0 – 100
0/25
maintenance
14/20
popularity
25/25
security
12/15
maturity
2/15
community
Vulnerabilities
0
none known

Bundle & TypeScript

📦

Bundle Size

3.7 KBminified
1.3 KB gzipped
0 direct dependencies
side effects
🌟

TypeScript

0/10untyped
No type definitions available

Health History

Dependency Tree

License Audit

API access

Get this data programmatically — free, no authentication.

curl https://depscope.dev/api/check/npm/detect-content-type

First published · 2018-02-01T17:55:11.194Z

Last updated · 2018-02-02T08:49:01.674Z