Skip to content
This repository has been archived by the owner on Nov 21, 2022. It is now read-only.
/ file-colors Public archive

This package aims to provide a color according to the extension of a file.

License

Notifications You must be signed in to change notification settings

Achaak/file-colors

Repository files navigation

file-colors

This package aims to provide a color according to the extension of a file.

Install

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

Functions

getColorByExtension

Return color by extension

Example:

const color = getColorByExtension("png")

Credit

Colors based on Mikael Edwards psd

About

This package aims to provide a color according to the extension of a file.

Topics

Resources

License

Stars

Watchers

Forks