Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Mime Type Icon

Site that provides mime type icons.

Build Status npm version Known Vulnerabilities

How to use

You can use a file extension like /png /png, a filename like /xls excel.xls.

You can also use the ?size=32 ?size=32 to get a consistent size of icons, and the ?default=... ?default=<name_of_icon> to force a default icon if not found the file extension.

Examples

/doc document.doc

/docx document.docx

/xls excel.xls

/xlsx excel.xlsx

/html page.html

/jpeg image.jpeg

/js file.js

Using a default

default=xml not-found.doc

Returning an icon SVG

/svg-format

Credits

Thanks to faenza-icon-theme

This project was inspired in https://github.com/ptarjan/stdicon and http://darvin.github.io/mimetype-icon/

Autor


@giovanigenerali

About

πŸš€ Site that provides mime type icons

Topics

Resources

License

Packages

No packages published