Socket
Socket
Sign inDemoInstall

ext-list

Package Overview
Dependencies
2
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    ext-list

List of known file extensions and their MIME types


Version published
Maintainers
1
Install size
11.3 kB
Created

Readme

Source

ext-list Build Status

Return a list of known file extensions and their MIME types

Install

$ npm install --save ext-list

Usage

var extList = require('ext-list');

extList(function (err, obj) {
    if (err) {
        throw err;
    }

    console.log(obj);
    //=> { '123': 'application/vnd.lotus-1-2-3', ez: 'application/andrew-inset', aw: 'application/applixware', ... }
})

License

MIT © Kevin Mårtensson

Keywords

FAQs

Last updated on 26 Aug 2014

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

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