Socket
Socket
Sign inDemoInstall

mime-tree

Package Overview
Dependencies
0
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.1.1 to 0.1.2

2

package.json
{
"name": "mime-tree",
"version": "0.1.1",
"version": "0.1.2",
"description": "A helper for quickly determining the file type of a buffer",

@@ -5,0 +5,0 @@ "author": "Josh McFarlin <josh@mcfarl.in>",

@@ -7,2 +7,5 @@ # mime-tree

This library is pure JavaScript, any can run in Node, the browser, or anywhere else JavaScript runs.
This library is exported in CommonJS and ES Modules.
Compared to other libraries that iterate through multiple arrays to find the mime type,

@@ -9,0 +12,0 @@ this helper detects mime type by looping through a single object.

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc