random-palette
TypeScript icon, indicating that this package has built-in type declarations

2.0.0 • Public • Published

Introduction

The random-palette package will help developers to generate random color palettes for Such Packages

Installation

The random-palette Package is available on the npm

Run the following command to install the package

npm i random-palette

Usage

// Install the random palette package and import it
const paletteGenerator = require("random-palette");

// Usage
const palettes = paletteGenerator(2);

console.log(palettes);

/**
 * Output Should be
 * 
 * [#******, #******] stars would be random integer or chars..
 * in my case the output is [#29FAB1, #39EAA1]
 */

Test

> random-palette@1.0.0 test
> mocha --full-trace       



  generator
    ✔ should not work when the amount is not a number
    ✔ should return a array of palettes when the amount is number


  2 passing (26ms)

Dependencies (1)

Dev Dependencies (6)

Package Sidebar

Install

npm i random-palette

Weekly Downloads

0

Version

2.0.0

License

MIT

Unpacked Size

20.6 kB

Total Files

14

Last publish

Collaborators

  • princevora