How to use the colors.cyan function in colors

To help you get started, we’ve selected a few colors examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github thefrontside / funcadelic.js / scripts / bench.js View on Github external
const info = (msg, ...args) => console.log(colors.cyan(msg), ...args) // eslint-disable-line
github semiromid / compress-images / lib / updater / alert.js View on Github external
var  colors = require('colors');




    console.log(colors.bgYellow('     ') + colors.bgCyan('     ') + colors.bgYellow('     ') + colors.bgCyan('     ') + colors.bgYellow('     ') + colors.bgCyan('     ') + colors.bgYellow('     ') + colors.bgCyan('     ') + colors.bgYellow('     ') + colors.bgCyan('     ') + colors.bgYellow('     ') + colors.bgCyan('     ') + colors.bgYellow('     ') + colors.bgCyan('     ') + colors.bgYellow('     ') + colors.bgCyan('     ')); 
    console.log(colors.bgYellow('     ') + colors.bgCyan('     ') + colors.bgYellow('     ') + colors.bgCyan('     ') + colors.bgYellow('     ') + colors.bgCyan('     ') + colors.bgYellow('     ') + colors.bgCyan('     ') + colors.bgYellow('     ') + colors.bgCyan('     ') + colors.bgYellow('     ') + colors.bgCyan('     ') + colors.bgYellow('     ') + colors.bgCyan('     ') + colors.bgYellow('     ') + colors.bgCyan('     '));
    console.log(colors.bgCyan('     ') + colors.magenta(' ... ... ... ... ... ... ... ... ... ... ... ... ... ... ...')); 
    console.log(colors.bgCyan('     ') + colors.magenta(' :')); 
    console.log(colors.bgYellow('     ') + colors.magenta(' :') + ' Thank you so much for that you use this module npm «compress-images». '+colors.red('♥'));
    console.log(colors.bgYellow('     ') + colors.magenta(' :') + ' If for you is useful thing, support the project:');
    console.log(colors.bgCyan('     ') + colors.magenta(' :') + ' * ' + colors.cyan('PayPal') + ' - [https://www.paypal.com/myaccount/transfer/send]'); 
    console.log(colors.bgCyan('     ') + colors.magenta(' :') + '   Email - [startpascal1@mail.ru]');   
    console.log(colors.bgYellow('     ') + colors.magenta(' :') + ' * ' + colors.yellow('Visa Card') + ' - [4731 1856 1426 6432]'); 
    console.log(colors.bgYellow('     ') + colors.magenta(' :') + '   First name and Last name: [SEMINA TAMARA] or [SEMINA TAMARA PETROVNA]');  
    console.log(colors.bgCyan('     ') + colors.magenta(' :') + ' * ' + colors.yellow('Payeer') + ' - [payeer.com]  No.[P77135727]'); 
    console.log(colors.bgCyan('     ') + colors.magenta(' :') + ' * ' + colors.yellow('PaYoneer') + ' - [https://www.payoneer.com]'); 
    console.log(colors.bgYellow('     ') + colors.magenta(' :') + '   Email - [startpascal1@mail.ru]'); 
    console.log(colors.bgYellow('     ') + colors.magenta(' :.. ... ... ... ... ... ... ... ... ... ... ... ... ... ...'));
    console.log(colors.bgCyan('     ') + colors.magenta(' : .. ... ... ... ... ... ... ... ... ... ... ... ... ... ...'));
    console.log(colors.bgCyan('     ') + colors.magenta(' :') + ' If the module was you useful, put a star on ['+ colors.yellow('GitHub') + ']:');  
    console.log(colors.bgYellow('     ') + colors.magenta(' :') + ' [https://github.com/semiromid/compress-images]');  
    console.log(colors.bgYellow('     ') + colors.magenta(' :.. ... ... ... ... ... ... ... ... ... ... ... ... ... ...'));
    console.log(colors.bgYellow('     ') + colors.bgCyan('     ') + colors.bgYellow('     ') + colors.bgCyan('     ') + colors.bgYellow('     ') + colors.bgCyan('     ') + colors.bgYellow('     ') + colors.bgCyan('     ') + colors.bgYellow('     ') + colors.bgCyan('     ') + colors.bgYellow('     ') + colors.bgCyan('     ') + colors.bgYellow('     ') + colors.bgCyan('     ') + colors.bgYellow('     ') + colors.bgCyan('     '));
    console.log(colors.bgYellow('     ') + colors.bgCyan('     ') + colors.bgYellow('     ') + colors.bgCyan('     ') + colors.bgYellow('     ') + colors.bgCyan('     ') + colors.bgYellow('     ') + colors.bgCyan('     ') + colors.bgYellow('     ') + colors.bgCyan('     ') + colors.bgYellow('     ') + colors.bgCyan('     ') + colors.bgYellow('     ') + colors.bgCyan('     ') + colors.bgYellow('     ') + colors.bgCyan('     '));
github apidoc / apidoc / lib / utils / console_logger.js View on Github external
Logger.prototype.debug = function(message, extra) {
    if ( ! this.isSilent && this.isDebug) {
        console.log(colors.cyan('debug:   ') + message);
        if (extra)
            console.log(colors.white(this._getExtra(extra)));
    }
};
github stojanovic / scottyjs / bin / scotty.js View on Github external
return console.log(`
    ${colors.magenta('Scotty')}${colors.cyan('deploy static websites or folders to AWS S3 with a single command')}

    ${colors.magenta('Version:')} ${colors.cyan(require(path.join(__dirname, '..', 'package.json')).version)}

    ✤ ✤ ✤

    USAGE:

    ${colors.magenta('scotty {options}')} ${colors.cyan('or')} ${colors.magenta('beam-me-up {options}')}

    AVAILABLE OPTIONS:

    ${colors.magenta('--help')}        ${colors.cyan('or')} ${colors.magenta('-h')}    Print this help
    ${colors.magenta('--version')}     ${colors.cyan('or')} ${colors.magenta('-v')}    Print the current version
    ${colors.magenta('--quiet')}       ${colors.cyan('or')} ${colors.magenta('-q')}    Suppress output when executing commands ${colors.cyan('| default: false')}
    ${colors.magenta('--noclipboard')} ${colors.cyan('or')} ${colors.magenta('-n')}    Do not copy the URL to clipboard ${colors.cyan('| default: false')}
    ${colors.magenta('--website')}     ${colors.cyan('or')} ${colors.magenta('-w')}    Set uploaded folder as a static website ${colors.cyan('| default: false')}
    ${colors.magenta('--spa')}                                                         Set uploaded folder as a single page app and redirect all non-existing pages to index.html ${colors.cyan('| default: false')}
    ${colors.magenta('--source')}      ${colors.cyan('or')} ${colors.magenta('-s')}    Source of the folder that will be uploaded ${colors.cyan('| default: current folder')}
    ${colors.magenta('--bucket')}      ${colors.cyan('or')} ${colors.magenta('-b')}    Name of the S3 bucket ${colors.cyan('| default: name of the current folder')}
    ${colors.magenta('--prefix')}      ${colors.cyan('or')} ${colors.magenta('-p')}    Prefix on the S3 bucket ${colors.cyan('| default: the root of the bucket')}
    ${colors.magenta('--region')}      ${colors.cyan('or')} ${colors.magenta('-r')}    AWS region where the files will be uploaded ${colors.cyan('| default: saved region if exists or a list to choose one if it is not saved yet')}
    ${colors.magenta('--force')}       ${colors.cyan('or')} ${colors.magenta('-f')}    Update the bucket without asking, region can be overridden with ${colors.magenta('-r')} ${colors.cyan('| default: false')}
    ${colors.magenta('--update')}      ${colors.cyan('or')} ${colors.magenta('-u')}    Update existing bucket ${colors.cyan('| default: false')}
    ${colors.magenta('--delete')}      ${colors.cyan('or')} ${colors.magenta('-d')}    Delete existing bucket ${colors.cyan('| default: false')}
    ${colors.magenta('--nocdn')}       ${colors.cyan('or')} ${colors.magenta('-c')}    Disable Cloudfront handling ${colors.cyan('| default: false')}
    ${colors.magenta('--urlonly')}     ${colors.cyan('or')} ${colors.magenta('-o')}    Only output the resulting URL, CDN or S3 according to options ${colors.cyan('| default: false')}
    ${colors.magenta('--expire')}      ${colors.cyan('or')} ${colors.magenta('-e')}    Delete objects on bucket older than n days ${colors.cyan('| default: no expiration')}
    ${colors.magenta('--profile')}     ${colors.cyan('or')} ${colors.magenta('-a')}    AWS profile to be used ${colors.cyan('| default: default')}
    ${colors.magenta('--empty')}       ${colors.cyan('or')} ${colors.magenta('-y')}    Empty the bucket (Delete all objects before upload files) ${colors.cyan('| default: false')}
github DisnodeTeam / disnode-bot / core / logging.js View on Github external
exports.DisnodeWarning= function (caller, event, data) {
  var msg = "["+colors.yellow("WARNING")+"] "+colors.magenta(TimeCode()) +
    " [" +
    colors.grey(caller) + " " +
    colors.cyan("(" + event + ")")  +
    "] " + colors.yellow(data);
  var logmsg = "["+"WARNING"+"] "+ TimeCode() + " [" + caller + " " + "(" + event + ")" + "] " + data;
  console.log(msg);
  saveLog(logmsg);
};
github DisnodeTeam / disnode-bot / src / AudioManager.js View on Github external
OnVoiceJoin(VoiceChannel, user){
	    console.log("[VoiceManager]".grey + " Voice Join".cyan);
	    console.log("[VoiceManager]".grey + " |--- User ["+ colors.cyan(user) +"] " + colors.cyan(user.username));
	    console.log("[VoiceManager]".grey + " |--- Channel ["+ colors.cyan(VoiceChannel) +"] " + colors.cyan(VoiceChannel.name));
	    if(user == this.follow){
	      this.JoinChannelWithId(VoiceChannel);
	    }
	  }
github DisnodeTeam / disnode-bot / src / Managers / Wolfram.js View on Github external
makeRequest(parms, imageIdentity, cb){
		var self = this;
		console.log("[Wolfram]".grey + " Wolfram request with Q: " + colors.cyan(parms[0]) + " Options: " + colors.cyan(parms[1] + " " + parms[2]));
		if(parms[0] == null || parms[0] == undefined || parms[0] == ""){
			cb("NO_QUESTION");
			return;
		}
		var text = '```';
		if (parms[1] == imageIdentity && parms[2] == parseInt(parms[2])){
			self.wolframapi.query(parms[0], function (err, result) {
				if (err) throw err;
				for (var i = 0; i < result.length; i++) {
					if (i < parseInt(parms[2])){text = text + result[i].subpods[0].image + ' \n';}
				}
				text = text + '```'
				cb(text);
			});
		}else if (parms[2] == imageIdentity && parms[1] == parseInt(parms[1])){
			self.wolframapi.query(parms[0], function (err, result) {
github stojanovic / scottyjs / bin / scotty.js View on Github external
AVAILABLE OPTIONS:

    ${colors.magenta('--help')}        ${colors.cyan('or')} ${colors.magenta('-h')}    Print this help
    ${colors.magenta('--version')}     ${colors.cyan('or')} ${colors.magenta('-v')}    Print the current version
    ${colors.magenta('--quiet')}       ${colors.cyan('or')} ${colors.magenta('-q')}    Suppress output when executing commands ${colors.cyan('| default: false')}
    ${colors.magenta('--noclipboard')} ${colors.cyan('or')} ${colors.magenta('-n')}    Do not copy the URL to clipboard ${colors.cyan('| default: false')}
    ${colors.magenta('--website')}     ${colors.cyan('or')} ${colors.magenta('-w')}    Set uploaded folder as a static website ${colors.cyan('| default: false')}
    ${colors.magenta('--spa')}                                                         Set uploaded folder as a single page app and redirect all non-existing pages to index.html ${colors.cyan('| default: false')}
    ${colors.magenta('--source')}      ${colors.cyan('or')} ${colors.magenta('-s')}    Source of the folder that will be uploaded ${colors.cyan('| default: current folder')}
    ${colors.magenta('--bucket')}      ${colors.cyan('or')} ${colors.magenta('-b')}    Name of the S3 bucket ${colors.cyan('| default: name of the current folder')}
    ${colors.magenta('--prefix')}      ${colors.cyan('or')} ${colors.magenta('-p')}    Prefix on the S3 bucket ${colors.cyan('| default: the root of the bucket')}
    ${colors.magenta('--region')}      ${colors.cyan('or')} ${colors.magenta('-r')}    AWS region where the files will be uploaded ${colors.cyan('| default: saved region if exists or a list to choose one if it is not saved yet')}
    ${colors.magenta('--force')}       ${colors.cyan('or')} ${colors.magenta('-f')}    Update the bucket without asking, region can be overridden with ${colors.magenta('-r')} ${colors.cyan('| default: false')}
    ${colors.magenta('--update')}      ${colors.cyan('or')} ${colors.magenta('-u')}    Update existing bucket ${colors.cyan('| default: false')}
    ${colors.magenta('--delete')}      ${colors.cyan('or')} ${colors.magenta('-d')}    Delete existing bucket ${colors.cyan('| default: false')}
    ${colors.magenta('--nocdn')}       ${colors.cyan('or')} ${colors.magenta('-c')}    Disable Cloudfront handling ${colors.cyan('| default: false')}
    ${colors.magenta('--urlonly')}     ${colors.cyan('or')} ${colors.magenta('-o')}    Only output the resulting URL, CDN or S3 according to options ${colors.cyan('| default: false')}
    ${colors.magenta('--expire')}      ${colors.cyan('or')} ${colors.magenta('-e')}    Delete objects on bucket older than n days ${colors.cyan('| default: no expiration')}
    ${colors.magenta('--profile')}     ${colors.cyan('or')} ${colors.magenta('-a')}    AWS profile to be used ${colors.cyan('| default: default')}
    ${colors.magenta('--empty')}       ${colors.cyan('or')} ${colors.magenta('-y')}    Empty the bucket (Delete all objects before upload files) ${colors.cyan('| default: false')}

    ✤ ✤ ✤

    ${colors.magenta('Beam me up, Scotty!')}
    More info: ${colors.cyan('https://github.com/stojanovic/scottyjs')}

    Changelog/release history: ${colors.cyan('https://github.com/stojanovic/scottyjs/releases')}
  `)
}