daily-color
Provides a unique hex code each day
Install
npm install daily-color
Use
In a JavaScript/TypeScript project:
const getDailyColor = require("daily-color");
console.log("Today's color is: ", getDailyColor());
Using the CLI:
dailycolor
Development
Install dependencies:
npm install
Run tests:
npm run test
The project uses ESLint and Prettier to ensure consistent coding standards.
npm run lint
npm run format
npm run package:lint
lint
will check for errors and fix formatting in .ts
and .js
files.format
will apply format rules to all possible files.package:lint
will warn of any inconsistencies in the package.json
file.