Skip to content

Latest commit

 

History

History
32 lines (26 loc) · 968 Bytes

README.md

File metadata and controls

32 lines (26 loc) · 968 Bytes

extern-js-colors

  • Target : Javascript (NodeJS)
  • Library : colors
  • Last tested version : 1.1.2
  • Available on : Github - NPM

Usage

using js.colors.Colors;

class Main
{
  static function main()
  {
    trace('hello'.green()); // outputs green text 
    trace('i like cake and pies'.underline().red()) // outputs red underlined text 
    trace('inverse the color'.inverse()); // inverses the color 
    trace('OMG Rainbows!'.rainbow()); // rainbow 
    trace('Run the trap'.trap()); // Drops the bass

    // Or

    trace(Colors.green('hello')); // outputs green text
    trace(Colors.red(Colors.underline('i like cake and pies'))) // outputs red underlined text
    trace(Colors.inverse('inverse the color')); // inverses the color
    trace(Colors.rainbow('OMG Rainbows!')); // rainbow
    trace(Colors.trap('Run the trap')); // Drops the bass
  }
}