@anzerr/file.type
TypeScript icon, indicating that this package has built-in type declarations

1.0.10 • Public • Published

Intro

get mime type for a file using 'minetype' and 'file' with a fallback if not present

Install

npm install --save git+https://git@github.com/anzerr/file.type.git

Example

const fileType = require('file.type');

fileType('./README.md').then((res) => {
    console.log(res);
})

Readme

Keywords

none

Package Sidebar

Install

npm i @anzerr/file.type

Weekly Downloads

0

Version

1.0.10

License

MIT

Unpacked Size

5.14 kB

Total Files

8

Last publish

Collaborators

  • anzerr