triad-colors
TypeScript icon, indicating that this package has built-in type declarations

0.1.1 • Public • Published

triad-colors-js

Build Status

It's a npm library of get triad colors.

Install

npm install triad-colors
# or
yarn add triad-colors

Usage

Example of get random colors.

const { getRandomColors } = require('triad-colors');

(async () => {
  console.log(getRandomColors());
})();

Example of specify colors.

const { getColors } = require('triad-colors');

(async () => {
  console.log(getColors('#123123'));
})();

Development

Test

npm run test

Code format

npm run fmt

/triad-colors/

    Package Sidebar

    Install

    npm i triad-colors

    Weekly Downloads

    1

    Version

    0.1.1

    License

    MIT

    Unpacked Size

    4.36 kB

    Total Files

    5

    Last publish

    Collaborators

    • shinshin86