Skip to content

Latest commit

 

History

History
27 lines (15 loc) · 867 Bytes

README.md

File metadata and controls

27 lines (15 loc) · 867 Bytes

findFileExtensionIcon

Support Node of LTS npm Travis (.org) npm

NodeJs Package to find font-awesome icons icons by file extensions. It returns html depending upon the file extension passed.

Installation

$ npm install filetypeicons --save

Usage

var findFileExtIcon = require('filetypeicons');

console.log(findFileExtIcon("/path/to/media.wav"));

output

$ <i class="far fa-file-audio"></i>