Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nknapp/media-mime-detect
https://github.com/nknapp/media-mime-detect
Last synced: 20 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/nknapp/media-mime-detect
- Owner: nknapp
- License: mit
- Created: 2015-04-07T21:32:06.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-01-18T22:46:21.000Z (almost 8 years ago)
- Last Synced: 2024-10-06T03:41:19.841Z (about 1 month ago)
- Language: JavaScript
- Homepage:
- Size: 3.91 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
This package uses `stream-mmmagic` to sniff for magic-bytes on a stream without interupting the
stream. In fact, this package uses `stream-mmmagic` directly with a single change:It ships with a custom `magic`-file that contains patterns for mime-types that are not detected
by the current default `magic`-file.## Usage
As in [`stream-mmmagic`](https://www.npmjs.com/package/stream-mmmagic).
Custom magic-files are not supported. This would not make sense. The only meaning if this package
is to provide a custom magic-file.## Additional file-type
* `video/m2pt`: MPEG2-Transport-Stream (used by cameras that record AVHCD-videos)