wgenial / mimetypeicons-nodejs

πŸš€ Site that provides mime type icons

Home Page:https://mimetypeicons.gq/.png

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

https://mimetypeicons.gq/.png

License:MIT License


Languages

Language:JavaScript 100.0%