file-colors
TypeScript icon, indicating that this package has built-in type declarations

1.0.3 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i file-colors

Weekly Downloads

7

Version

1.0.3

License

MIT

Unpacked Size

17.3 kB

Total Files

8

Last publish

Collaborators

  • achak