JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 12
  • Score
    100M100P100Q64728F
  • License MIT

A simple terminal color picker for Node.js

Package Exports

    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 NPM version NPM monthly downloads NPM total downloads

    A simple terminal color picker for Node.js.

    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);
    };

    Then run :

    node index.js

    Options

    Type Default Description
    hint boolean True Whether to show the hint or not
    colorPicker(options);