11.6.1 • Published 3 years ago

vscode-icons-js v11.6.1

Weekly downloads
744
License
MIT
Repository
github
Last release
3 years ago

vscode-icons-js

Greenkeeper badge Build Status code style: prettier

File specific icons from vscode vscode-icons extension inspired by file-icons-js

Installation

npm i vscode-icons-js

Usage

import { getIconForFile, getIconForFolder, getIconForOpenFolder } from 'vscode-icons-js';

console.log(getIconForFile('main.cpp'));
// file_type_cpp.svg

Example

https://dderevjanik.github.io/vscode-icons-js-example/

Source Code: https://github.com/dderevjanik/vscode-icons-js-example

Related