1.1.0 • Published 11 months ago

node-color-picker v1.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
11 months ago

node-color-picker NPM version NPM monthly downloads NPM total downloads

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 :heart: 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.

Demo GIF

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

TypeDefaultDescription
hintbooleanTrueWhether to show the hint or not

colorPicker(options);
1.1.0

11 months ago

1.0.11

11 months ago

1.0.10

11 months ago

1.0.9

11 months ago

1.0.8

11 months ago

1.0.7

11 months ago

1.0.6

11 months ago

1.0.5

11 months ago

1.0.4

11 months ago

1.0.3

11 months ago

1.0.2

11 months ago

1.0.1

11 months ago

1.0.0

11 months ago