Home
last modified time | relevance | path

Searched refs:chalk (Results 1 – 25 of 54) sorted by relevance

123

/third_party/node/deps/npm/node_modules/chalk/
Dreadme.md12chalk/chalk.svg?branch=master)](https://travis-ci.org/chalk/chalk) [![Coverage Status](https://cov…
14 ### [See what's new in Chalk 2](https://github.com/chalk/chalk/releases/tag/v2.0.0)
16 <img src="https://cdn.rawgit.com/chalk/ansi-styles/8261697c95bf34b6c7767e2cbe9941a851d59385/screens…
29 - [Used by ~23,000 packages](https://www.npmjs.com/browse/depended/chalk) as of December 31, 2017
35 $ npm install chalk
46 const chalk = require('chalk');
48 console.log(chalk.blue('Hello world!'));
54 const chalk = require('chalk');
58 log(chalk.blue('Hello') + ' World' + chalk.red('!'));
61 log(chalk.blue.bgRed.bold('Hello world!'));
[all …]
Dindex.js31 const chalk = {};
32 applyOptions(chalk, options);
34 chalk.template = function () {
36 return chalkTag.apply(null, [chalk.template].concat(args));
39 Object.setPrototypeOf(chalk, Chalk.prototype);
40 Object.setPrototypeOf(chalk.template, chalk);
42 chalk.template.constructor = Chalk;
44 return chalk.template;
206 function chalkTag(chalk, strings) { argument
221 return template(chalk, parts.join(''));
Dtemplates.js66 function buildStyle(chalk, styles) { argument
75 let current = chalk;
93 module.exports = (chalk, tmp) => { argument
105 chunks.push(styles.length === 0 ? str : buildStyle(chalk, styles)(str));
112 chunks.push(buildStyle(chalk, styles)(chunk.join('')));
/third_party/typescript/tests/baselines/reference/
DnestedDestructuringOfRequire.symbols3 chalk: { grey }
4 >chalk : Symbol(chalk, Decl(mod1.js, 2, 2))
14 chalk
17 const chalk = {
18 >chalk : Symbol(chalk, Decl(mod1.js, 0, 5))
24 module.exports.chalk = chalk
25 >module.exports.chalk : Symbol(chalk, Decl(mod1.js, 2, 2))
26 >module.exports : Symbol(chalk, Decl(mod1.js, 2, 2))
29 >chalk : Symbol(chalk, Decl(mod1.js, 2, 2))
30 >chalk : Symbol(chalk, Decl(mod1.js, 0, 5))
DnestedDestructuringOfRequire.types3 chalk: { grey }
4 >chalk : any
15 chalk
16 >chalk : any
19 const chalk = {
20 >chalk : { grey: {}; }
28 module.exports.chalk = chalk
29 >module.exports.chalk = chalk : { grey: {}; }
30 >module.exports.chalk : { grey: {}; }
34 >chalk : { grey: {}; }
[all …]
DnestedDestructuringOfRequire.js4 const chalk = { variable
7 module.exports.chalk = chalk
11 chalk: { grey }
14 chalk variable
18 var chalk = {
21 module.exports.chalk = chalk;
23 var grey = require('./mod1').chalk.grey;
25 chalk;
29 export namespace chalk {
DnestedDestructuringOfRequire.errors.txt1 tests/cases/conformance/salsa/main.js(5,1): error TS2304: Cannot find name 'chalk'.
6 chalk: { grey }
9 chalk
11 !!! error TS2304: Cannot find name 'chalk'.
14 const chalk = {
17 module.exports.chalk = chalk
/third_party/node/deps/npm/node_modules/cli-columns/
Dtest.js2 import chalk from 'chalk';
37 chalk.cyan('嶜憃撊') + ' 噾噿嚁',
38 'blue' + chalk.bgBlue('berry'),
39 chalk.red('apple'), 'pomegranate',
40 'durian', chalk.green('star fruit'),
60 chalk.cyan('嶜憃撊') + ' 噾噿嚁',
61 'blue' + chalk.bgBlue('berry'),
62 chalk.red('apple'), 'pomegranate',
63 'durian', chalk.green('star fruit'),
Dcolor.js1 const chalk = require('chalk'); constant
5 'blue' + chalk.bgBlue('berry'),
6 '笔菠萝' + chalk.yellow('苹果笔'),
7 chalk.red('apple'), 'pomegranate',
8 'durian', chalk.green('star fruit'),
10 'pineapple', chalk.bgRed.yellow('orange')
DREADME.md14 const chalk = require('chalk');
18 'blue' + chalk.bgBlue('berry'),
19 '笔菠萝' + chalk.yellow('苹果笔'),
20 chalk.red('apple'), 'pomegranate',
21 'durian', chalk.green('star fruit'),
23 'pineapple', chalk.bgRed.yellow('orange')
/third_party/node/deps/npm/node_modules/wrap-ansi/
Dreadme.md1chalk/wrap-ansi.svg?branch=master)](https://travis-ci.org/chalk/wrap-ansi) [![Coverage Status](htt…
16 const chalk = require('chalk');
19 const input = 'The quick brown ' + chalk.red('fox jumped over ') +
20 'the lazy ' + chalk.green('dog and then ran away with the unicorn.');
52 String with ANSI escape codes. Like one styled by [`chalk`](https://github.com/chalk/chalk).
88 - [slice-ansi](https://github.com/chalk/slice-ansi) - Slice a string with ANSI escape codes
90 - [chalk](https://github.com/chalk/chalk) - Terminal string styling done right
/third_party/node/deps/npm/node_modules/strip-ansi/
Dreadme.md1 …ansi [![Build Status](https://travis-ci.org/chalk/strip-ansi.svg?branch=master)](https://travis-ci…
25 - [strip-ansi-cli](https://github.com/chalk/strip-ansi-cli) - CLI for this module
26 - [has-ansi](https://github.com/chalk/has-ansi) - Check if a string has ANSI escape codes
27 - [ansi-regex](https://github.com/chalk/ansi-regex) - Regular expression for matching ANSI escape c…
28 - [chalk](https://github.com/chalk/chalk) - Terminal string styling done right
/third_party/node/deps/npm/node_modules/string-width/node_modules/strip-ansi/
Dreadme.md1 …ansi [![Build Status](https://travis-ci.org/chalk/strip-ansi.svg?branch=master)](https://travis-ci…
25 - [strip-ansi-cli](https://github.com/chalk/strip-ansi-cli) - CLI for this module
26 - [has-ansi](https://github.com/chalk/has-ansi) - Check if a string has ANSI escape codes
27 - [ansi-regex](https://github.com/chalk/ansi-regex) - Regular expression for matching ANSI escape c…
28 - [chalk](https://github.com/chalk/chalk) - Terminal string styling done right
/third_party/node/deps/npm/node_modules/wrap-ansi/node_modules/strip-ansi/
Dreadme.md1 …ansi [![Build Status](https://travis-ci.org/chalk/strip-ansi.svg?branch=master)](https://travis-ci…
46 - [strip-ansi-cli](https://github.com/chalk/strip-ansi-cli) - CLI for this module
47 - [strip-ansi-stream](https://github.com/chalk/strip-ansi-stream) - Streaming version of this module
48 - [has-ansi](https://github.com/chalk/has-ansi) - Check if a string has ANSI escape codes
49 - [ansi-regex](https://github.com/chalk/ansi-regex) - Regular expression for matching ANSI escape c…
50 - [chalk](https://github.com/chalk/chalk) - Terminal string styling done right
/third_party/node/deps/npm/node_modules/cliui/node_modules/strip-ansi/
Dreadme.md1 …ansi [![Build Status](https://travis-ci.org/chalk/strip-ansi.svg?branch=master)](https://travis-ci…
46 - [strip-ansi-cli](https://github.com/chalk/strip-ansi-cli) - CLI for this module
47 - [strip-ansi-stream](https://github.com/chalk/strip-ansi-stream) - Streaming version of this module
48 - [has-ansi](https://github.com/chalk/has-ansi) - Check if a string has ANSI escape codes
49 - [ansi-regex](https://github.com/chalk/ansi-regex) - Regular expression for matching ANSI escape c…
50 - [chalk](https://github.com/chalk/chalk) - Terminal string styling done right
/third_party/node/deps/npm/node_modules/yargs/node_modules/strip-ansi/
Dreadme.md1 …ansi [![Build Status](https://travis-ci.org/chalk/strip-ansi.svg?branch=master)](https://travis-ci…
46 - [strip-ansi-cli](https://github.com/chalk/strip-ansi-cli) - CLI for this module
47 - [strip-ansi-stream](https://github.com/chalk/strip-ansi-stream) - Streaming version of this module
48 - [has-ansi](https://github.com/chalk/has-ansi) - Check if a string has ANSI escape codes
49 - [ansi-regex](https://github.com/chalk/ansi-regex) - Regular expression for matching ANSI escape c…
50 - [chalk](https://github.com/chalk/chalk) - Terminal string styling done right
/third_party/typescript/tests/cases/conformance/salsa/
DnestedDestructuringOfRequire.ts7 const chalk = { constant
10 module.exports.chalk = chalk
14 chalk: { grey } constant
17 chalk
/third_party/node/deps/npm/node_modules/update-notifier/
Dindex.js8 const chalk = importLazy('chalk'); constant
57 chalk().yellow(format(' %s update check failed ', options.pkg.name)) +
58 format('\n Try running with %s or get access ', chalk().cyan('sudo')) +
60 chalk().cyan(format(' sudo chown -R $USER:$(id -gn $USER) %s ', xdgBasedir().config));
119 …opts.message = opts.message || 'Update available ' + chalk().dim(this.update.current) + chalk().re…
120chalk().green(this.update.latest) + ' \nRun ' + chalk().cyan('npm i ' + (opts.isGlobal ? '-g ' : '…
/third_party/node/deps/npm/node_modules/supports-color/
Dreadme.md1 …or [![Build Status](https://travis-ci.org/chalk/supports-color.svg?branch=master)](https://travis-…
54 - [supports-color-cli](https://github.com/chalk/supports-color-cli) - CLI for this module
55 - [chalk](https://github.com/chalk/chalk) - Terminal string styling done right
/third_party/node/deps/npm/node_modules/boxen/
Dindex.js3 const chalk = require('chalk'); constant
78 if (opts.borderColor && !chalk[opts.borderColor]) {
82 if (opts.backgroundColor && !chalk[opts.backgroundColor]) {
91 const ret = opts.borderColor ? chalk[opts.borderColor](x) : x;
92 return opts.dimBorder ? chalk.dim(ret) : ret;
95 const colorizeContent = x => opts.backgroundColor ? chalk[opts.backgroundColor](x) : x;
/third_party/node/deps/npm/node_modules/ansi-styles/
Dreadme.md1 …yles [![Build Status](https://travis-ci.org/chalk/ansi-styles.svg?branch=master)](https://travis-c…
5 You probably want the higher-level [chalk](https://github.com/chalk/chalk) module for styling your …
7 <img src="https://cdn.rawgit.com/chalk/ansi-styles/8261697c95bf34b6c7767e2cbe9941a851d59385/screens…
/third_party/typescript/scripts/
DbrowserIntegrationTest.js2 const chalk = require("chalk"); constant
27 … console.error(chalk.red("There was an error running built/typescript.js in " + browserType));
/third_party/typescript/scripts/build/
Dutils.js11 const chalk = require("chalk"); constant
39 if (!options.hidePrompt) log(`> ${chalk.green(cmd)} ${args.join(" ")}`);
42 log(`${chalk.red("killing")} '${chalk.green(cmd)} ${args.join(" ")}'...`);
/third_party/node/deps/npm/node_modules/chalk/types/
Dindex.d.ts95 declare const chalk: Chalk & { supportsColor: ColorSupport }; constant
97 export default chalk
/third_party/node/deps/npm/node_modules/ansi-regex/
Dreadme.md1 …egex [![Build Status](https://travis-ci.org/chalk/ansi-regex.svg?branch=master)](https://travis-ci…

123