Socket
Socket
Sign inDemoInstall

ext-list

Package Overview
Dependencies
1
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
Weekly downloads
3M
decreased by-0.88%
Maintainers
1
Install size
198 kB
Created
Weekly downloads
 

Readme

Source

ext-list Build Status

Return a list of known file extensions and their MIME types

Install

$ npm install ext-list

Usage

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

extList();
//=> Map {'123' => 'application/vnd.lotus-1-2-3', 'ez' => 'application/andrew-inset', ...}

API

extList()

Returns a Map with the extensions as keys and their content types as values.

License

MIT © Kevin Mårtensson

Keywords

FAQs

Last updated on 03 Jul 2017

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