Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

pretty-file-icons

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pretty-file-icons

Pretty colorful icons for files (in svg format).

  • 2.1.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
324
increased by62.81%
Maintainers
1
Weekly downloads
 
Created
Source

Pretty File Icons

Pretty colorful icons for files (in svg format).

I found these awesome icons some time ago somewhere in the internet, and currently do not have any info about the author. That's why at this moment the licence is (temporarily) MIT; if somebody wish to claim their copyrights - please send me an email with proofs - and I'll change the licence (or do anything else that you'll require with this repository).

See index.json for available icons list. Live preview is available here.

Usage

Just download image files and use them. Also, this package is available on NPM:

npm install pretty-file-icons

In addition, this package contains mapping for some file extensions - see the index.json file. Also, it can be used in javascript applications to retrieve icon names by file name:

var prettyFileIcons = require('pretty-file-icons');

console.log(prettyFileIcons.getIcon('test.csv'));
console.log(prettyFileIcons.getIcon('test.csv', 'svg'));
console.log(prettyFileIcons.getIcon('.test', 'svg'));

// Prints:
// csv
// csv.svg
// unknown.svg

Preview:

Preview

Keywords

FAQs

Package last updated on 15 Jan 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc