1.1.0 • Published 4 years ago

coloringjs v1.1.0

Weekly downloads
-
License
ISC
Repository
-
Last release
4 years ago

coloringjs

About

a powerful NodeJS package that allows you to convert the text into a supported color.

How To Use

    1. install nodejs
    1. install the package using npm for that
npm i coloringjs@latest
    1. require the package for that:
const convertColor = require("coloringjs");

// or...

import * as convertColor from "coloringjs";
    1. use the method to convert the text:
convertColor("hello", "green", (err, data) => {
  if (err) throw err; // if there's an error it will throw it
  console.log(data) // the text will be transformed into the green color
})

Supported Colors

  • green, yellow, blue, pink, lightBlue

Note:

if sometimes it doesn't work, please restart your code to work

1.1.0

4 years ago

1.0.0

4 years ago