Package Exports
- node-color-picker
Readme
node-color-picker

A simple terminal color picker for Node.js.
Please consider following this project's author, Sina Bayandorian, and consider starring the project to show your ❤️ and support.
If you're building an interactive CLI with Ink, be sure to check out ink-color-picker for a powerful and user-friendly Ink component.
Installation
npm i node-color-picker
Usage
// * index.js
import { colorPicker } from 'node-color-picker';
const app = async () => {
const color = await colorPicker();
console.log(color);
};
app();
Then run :
node index.js
Options
Type | Default | Description | |
---|---|---|---|
hint | boolean | True |
Whether to show the hint or not |
colorPicker(options);