0.0.2 • Published 4 years ago
@mxthevs/colors v0.0.2
Table of Contents
Introduction
What is this?
colors is a CLI that parse colors from text files. It can also convert colors between different formats. Currently the application supports parsing hexadecimals (without alpha) and converting them to RGB.
Installation
Using npm
npm i @mxthevs/colors -gUsing yarn
yarn global add @mxthevs/colorsUsage
colors /path/to/file.{txt,json,etc}In case you already have a package or shell function named colors in your system (This might be the case if you are using zsh, for example. You can check this by running type colors in your terminal), you can still run this package, after installing with the instructions above, with the command:
npx colors /path/to/file.{txt,json,etc}Options
You can check the help page for the full set of options that colors accept.
colors --helpFeel free to report any bug that you encounter! 😃