colors

  • Version 1.4.0
  • Published
  • 39.5 kB
  • No dependencies
  • MIT license

Install

npm i colors
yarn add colors
pnpm add colors

Overview

get colors in your node.js console

Index

Variables

variable america

const america: Color;

    variable bgBlack

    const bgBlack: Color;

      variable bgBlue

      const bgBlue: Color;

        variable bgCyan

        const bgCyan: Color;

          variable bgGreen

          const bgGreen: Color;

            variable bgMagenta

            const bgMagenta: Color;

              variable bgRed

              const bgRed: Color;

                variable bgWhite

                const bgWhite: Color;

                  variable bgYellow

                  const bgYellow: Color;

                    variable black

                    const black: Color;

                      variable blue

                      const blue: Color;

                        variable bold

                        const bold: Color;

                          variable cyan

                          const cyan: Color;

                            variable dim

                            const dim: Color;

                              variable enabled

                              let enabled: boolean;

                                variable gray

                                const gray: Color;

                                  variable green

                                  const green: Color;

                                    variable grey

                                    const grey: Color;

                                      variable hidden

                                      const hidden: Color;

                                        variable inverse

                                        const inverse: Color;

                                          variable italic

                                          const italic: Color;

                                            variable magenta

                                            const magenta: Color;

                                              variable rainbow

                                              const rainbow: Color;

                                                variable random

                                                const random: Color;

                                                  variable red

                                                  const red: Color;

                                                    variable reset

                                                    const reset: Color;

                                                      variable strikethrough

                                                      const strikethrough: Color;

                                                        variable strip

                                                        const strip: Color;

                                                          variable stripColors

                                                          const stripColors: Color;

                                                            variable trap

                                                            const trap: Color;

                                                              variable underline

                                                              const underline: Color;

                                                                variable white

                                                                const white: Color;

                                                                  variable yellow

                                                                  const yellow: Color;

                                                                    variable zalgo

                                                                    const zalgo: Color;

                                                                      variable zebra

                                                                      const zebra: Color;

                                                                        Functions

                                                                        function disable

                                                                        disable: () => void;

                                                                          function enable

                                                                          enable: () => void;

                                                                            function setTheme

                                                                            setTheme: (theme: any) => void;

                                                                              Interfaces

                                                                              interface Color

                                                                              interface Color {}

                                                                                property america

                                                                                america: Color;

                                                                                  property bgBlack

                                                                                  bgBlack: Color;

                                                                                    property bgBlue

                                                                                    bgBlue: Color;

                                                                                      property bgCyan

                                                                                      bgCyan: Color;

                                                                                        property bgGreen

                                                                                        bgGreen: Color;

                                                                                          property bgMagenta

                                                                                          bgMagenta: Color;

                                                                                            property bgRed

                                                                                            bgRed: Color;

                                                                                              property bgWhite

                                                                                              bgWhite: Color;

                                                                                                property bgYellow

                                                                                                bgYellow: Color;

                                                                                                  property black

                                                                                                  black: Color;

                                                                                                    property blue

                                                                                                    blue: Color;

                                                                                                      property bold

                                                                                                      bold: Color;

                                                                                                        property cyan

                                                                                                        cyan: Color;

                                                                                                          property dim

                                                                                                          dim: Color;

                                                                                                            property gray

                                                                                                            gray: Color;

                                                                                                              property green

                                                                                                              green: Color;

                                                                                                                property grey

                                                                                                                grey: Color;

                                                                                                                  property hidden

                                                                                                                  hidden: Color;

                                                                                                                    property inverse

                                                                                                                    inverse: Color;

                                                                                                                      property italic

                                                                                                                      italic: Color;

                                                                                                                        property magenta

                                                                                                                        magenta: Color;

                                                                                                                          property rainbow

                                                                                                                          rainbow: Color;

                                                                                                                            property random

                                                                                                                            random: Color;

                                                                                                                              property red

                                                                                                                              red: Color;

                                                                                                                                property reset

                                                                                                                                reset: Color;

                                                                                                                                  property strikethrough

                                                                                                                                  strikethrough: Color;

                                                                                                                                    property strip

                                                                                                                                    strip: Color;

                                                                                                                                      property stripColors

                                                                                                                                      stripColors: Color;

                                                                                                                                        property trap

                                                                                                                                        trap: Color;

                                                                                                                                          property underline

                                                                                                                                          underline: Color;

                                                                                                                                            property white

                                                                                                                                            white: Color;

                                                                                                                                              property yellow

                                                                                                                                              yellow: Color;

                                                                                                                                                property zalgo

                                                                                                                                                zalgo: Color;

                                                                                                                                                  property zebra

                                                                                                                                                  zebra: Color;

                                                                                                                                                    call signature

                                                                                                                                                    (text: string): string;

                                                                                                                                                      Namespaces

                                                                                                                                                      namespace global

                                                                                                                                                      namespace global {}

                                                                                                                                                        interface String

                                                                                                                                                        interface String {}

                                                                                                                                                          property america

                                                                                                                                                          america: string;

                                                                                                                                                            property bgBlack

                                                                                                                                                            bgBlack: string;

                                                                                                                                                              property bgBlue

                                                                                                                                                              bgBlue: string;

                                                                                                                                                                property bgCyan

                                                                                                                                                                bgCyan: string;

                                                                                                                                                                  property bgGreen

                                                                                                                                                                  bgGreen: string;

                                                                                                                                                                    property bgMagenta

                                                                                                                                                                    bgMagenta: string;

                                                                                                                                                                      property bgRed

                                                                                                                                                                      bgRed: string;

                                                                                                                                                                        property bgWhite

                                                                                                                                                                        bgWhite: string;

                                                                                                                                                                          property bgYellow

                                                                                                                                                                          bgYellow: string;

                                                                                                                                                                            property black

                                                                                                                                                                            black: string;

                                                                                                                                                                              property blue

                                                                                                                                                                              blue: string;

                                                                                                                                                                                property bold

                                                                                                                                                                                bold: string;

                                                                                                                                                                                  property cyan

                                                                                                                                                                                  cyan: string;

                                                                                                                                                                                    property dim

                                                                                                                                                                                    dim: string;

                                                                                                                                                                                      property gray

                                                                                                                                                                                      gray: string;

                                                                                                                                                                                        property green

                                                                                                                                                                                        green: string;

                                                                                                                                                                                          property grey

                                                                                                                                                                                          grey: string;

                                                                                                                                                                                            property hidden

                                                                                                                                                                                            hidden: string;

                                                                                                                                                                                              property inverse

                                                                                                                                                                                              inverse: string;

                                                                                                                                                                                                property italic

                                                                                                                                                                                                italic: string;

                                                                                                                                                                                                  property magenta

                                                                                                                                                                                                  magenta: string;

                                                                                                                                                                                                    property rainbow

                                                                                                                                                                                                    rainbow: string;

                                                                                                                                                                                                      property random

                                                                                                                                                                                                      random: string;

                                                                                                                                                                                                        property red

                                                                                                                                                                                                        red: string;

                                                                                                                                                                                                          property reset

                                                                                                                                                                                                          reset: string;

                                                                                                                                                                                                            property strikethrough

                                                                                                                                                                                                            strikethrough: string;

                                                                                                                                                                                                              property strip

                                                                                                                                                                                                              strip: string;

                                                                                                                                                                                                                property stripColors

                                                                                                                                                                                                                stripColors: string;

                                                                                                                                                                                                                  property trap

                                                                                                                                                                                                                  trap: string;

                                                                                                                                                                                                                    property underline

                                                                                                                                                                                                                    underline: string;

                                                                                                                                                                                                                      property white

                                                                                                                                                                                                                      white: string;

                                                                                                                                                                                                                        property yellow

                                                                                                                                                                                                                        yellow: string;

                                                                                                                                                                                                                          property zalgo

                                                                                                                                                                                                                          zalgo: string;

                                                                                                                                                                                                                            property zebra

                                                                                                                                                                                                                            zebra: string;

                                                                                                                                                                                                                              Package Files (1)

                                                                                                                                                                                                                              Dependencies (0)

                                                                                                                                                                                                                              No dependencies.

                                                                                                                                                                                                                              Dev Dependencies (2)

                                                                                                                                                                                                                              Peer Dependencies (0)

                                                                                                                                                                                                                              No peer dependencies.

                                                                                                                                                                                                                              Badge

                                                                                                                                                                                                                              To add a badge like this onejsDocs.io badgeto your package's README, use the codes available below.

                                                                                                                                                                                                                              You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/colors.

                                                                                                                                                                                                                              • Markdown
                                                                                                                                                                                                                                [![jsDocs.io](https://img.shields.io/badge/jsDocs.io-reference-blue)](https://www.jsdocs.io/package/colors)
                                                                                                                                                                                                                              • HTML
                                                                                                                                                                                                                                <a href="https://www.jsdocs.io/package/colors"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>