Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@abibv/vscode-icons-js

abibv10MIT11.6.3TypeScript support: included

File specific icons from vscode vscode-icons extension

typescript, vscode-icons, github-vscode-icons

readme

vscode-icons-js

A forked project from vscode-icons-js by Daniel Derevjanik

Changes

  • Removed log4js

Installation

npm i @abibv/vscode-icons-js

Usage

  • To use in your project, download or clone this repo vscode-icons, then copy the icons/ folder to your project directory.

  • Add the path to the icons/ folder before the filename

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

const file = `/path_to_the_icons_folder/${getIconForFile('main.cpp')}`;
console.log(file);
// /path_to_the_icons_folder/file_type_cpp.svg

Example from source repo

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

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

changelog

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog

[11.6.0] - 2021-09-30

  • Update vscode-icons to 11.6.0

[11.1.0] - 2021-02-13

  • Update vscode-icons to 11.1.0

[11.0.0] - 2020-11-10

  • Update vscode-icons to 11.0.0

[10.1.1] - 2020-06-20

  • Update vscode-icons to 10.1.1

[7.25.0] - 2018-08-02

  • Fixed issue #12
  • Updated vscode-icons to 7.25.0
  • Improved script for generating icons definitions

[7.23.0] - 2018-07-06

  • Updated vscode-icons to 7.23.0
  • vscode-icons-js version now match vscode-icons version
  • Updated packages

[1.1.2] - 2018-03-23

  • Updated vscode-icons to 7.22.0

[1.1.1] - 2018-03-18

  • Fixed main from dist/index.js to dist/Index.js

[1.1.0] - 2018-03-18

  • Updated vscode-icons data to 7.21.0
  • Removed unnecessary icons from ./docs