New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

file-formats

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

file-formats

Library of file formats. Get a list of file formats by type

  • 0.0.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
2
Maintainers
1
Weekly downloads
 
Created
Source

file-formats

Library of file formats and extensions. Able to search by category.

npm install --save file-formats

interface

fileFormats.list(category)

METHODS:
______________________________________________________
category (String): Category or type to search by
                   Possible values: video | image | audio |  ....
RETURNS
list (Array): List of extensions or values searched for
______________________________________________________

var fileFormats = require('file-formats');

//eg. Get a list of all extensions available
console.log(fileFormats.list())

//eg. Get a list of video file extensions available
console.log(fileFormats.list('video'))

Contribute

  • Feel free to submit PRs with additional formats or updated information
  • Please see definitions for examples of how to add extension definitions

Keywords

FAQs

Package last updated on 19 Jul 2016

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc