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
Maintainers
1
Weekly downloads
2,850,555
decreased by-8.27%

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