0.0.12 • Published 10 years ago

file-formats v0.0.12

Weekly downloads
4
License
ISC
Repository
github
Last release
10 years ago

file-formats

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

npm install --save file-formats

interface

______________________________________________________
fileFormats.list(category)

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

fileFormats.categories()

PARAMS:
none

RETURNS
categories (Array): List of categories available
______________________________________________________
//EXAMPLE
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

Notes

  • Formats still being filled out (an ongoing process)
  • If something is not there that you know of, submit a PR
  • This library can expand beyond the basic categories of audio, video, and image
  • The aim is to have an extensive list of formats and whatever categories they fall in

Useful Links

0.0.12

10 years ago

0.0.11

10 years ago

0.0.10

10 years ago

0.0.9

10 years ago

0.0.8

10 years ago

0.0.6

10 years ago

0.0.5

10 years ago

0.0.4

10 years ago

0.0.3

10 years ago

0.0.2

10 years ago

0.0.1

10 years ago