Package Exports
- node-color-picker
- node-color-picker/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (node-color-picker) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
node-color-picker

A simple terminal color picker for Node.js.
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);
};
Then run :
node index.js
Options
Type | Default | Description | |
---|---|---|---|
hint | boolean | True |
Whether to show the hint or not |
colorPicker(options);