🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

file-colors

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

file-colors

Tools to get color of file.

1.0.3
latest
Source
npm
Version published
Weekly downloads
9
-57.14%
Maintainers
1
Weekly downloads
 
Created
Source

file-colors

Tools to get color of file.

Install

yarn add file-colors
# or
npm i file-colors --save

Change log

https://github.com/Achaak/file-colors/blob/master/CHANGELOG.md

Functions

getColorByExtension

Return color by extension

Example:

const color = getColorByExtension("png")

Credit

Colors based on Mikael Edwards psd

Keywords

react

FAQs

Package last updated on 01 Jul 2022

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