Skip to content

NodeJs Package which returns font-awesome icons `html` depending upon the file type.

Notifications You must be signed in to change notification settings

amjad489/findFileExtensionIcon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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>

About

NodeJs Package which returns font-awesome icons `html` depending upon the file type.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published