@colors/colors
Advanced tools
Comparing version 1.5.0 to 1.6.0
@@ -23,2 +23,10 @@ // Type definitions for @colors/colors 1.4+ | ||
brightRed: Color; | ||
brightGreen: Color; | ||
brightYellow: Color; | ||
brightBlue: Color; | ||
brightMagenta: Color; | ||
brightCyan: Color; | ||
brightWhite: Color; | ||
bgBlack: Color; | ||
@@ -33,2 +41,10 @@ bgRed: Color; | ||
bgBrightRed: Color; | ||
bgBrightGreen: Color; | ||
bgBrightYellow: Color; | ||
bgBrightBlue: Color; | ||
bgBrightMagenta: Color; | ||
bgBrightCyan: Color; | ||
bgBrightWhite: Color; | ||
reset: Color; | ||
@@ -71,2 +87,10 @@ bold: Color; | ||
export const brightRed: Color; | ||
export const brightGreen: Color; | ||
export const brightYellow: Color; | ||
export const brightBlue: Color; | ||
export const brightMagenta: Color; | ||
export const brightCyan: Color; | ||
export const brightWhite: Color; | ||
export const bgBlack: Color; | ||
@@ -81,2 +105,10 @@ export const bgRed: Color; | ||
export const bgBrightRed: Color; | ||
export const bgBrightGreen: Color; | ||
export const bgBrightYellow: Color; | ||
export const bgBrightBlue: Color; | ||
export const bgBrightMagenta: Color; | ||
export const bgBrightCyan: Color; | ||
export const bgBrightWhite: Color; | ||
export const reset: Color; | ||
@@ -114,2 +146,10 @@ export const bold: Color; | ||
brightRed: string; | ||
brightGreen: string; | ||
brightYellow: string; | ||
brightBlue: string; | ||
brightMagenta: string; | ||
brightCyan: string; | ||
brightWhite: string; | ||
bgBlack: string; | ||
@@ -124,2 +164,10 @@ bgRed: string; | ||
bgBrightRed: string; | ||
bgBrightGreen: string; | ||
bgBrightYellow: string; | ||
bgBrightBlue: string; | ||
bgBrightMagenta: string; | ||
bgBrightCyan: string; | ||
bgBrightWhite: string; | ||
reset: string; | ||
@@ -126,0 +174,0 @@ // @ts-ignore |
@@ -9,3 +9,3 @@ var colors = require('./colors'); | ||
// | ||
// var colors = require('colors/safe); | ||
// var colors = require('@colors/colors/safe'); | ||
// colors.red("foo") | ||
@@ -12,0 +12,0 @@ // |
@@ -28,3 +28,3 @@ /* | ||
module.exports = function(flag, argv) { | ||
argv = argv || process.argv; | ||
argv = argv || process.argv || []; | ||
@@ -31,0 +31,0 @@ var terminatorPos = argv.indexOf('--'); |
{ | ||
"name": "@colors/colors", | ||
"description": "get colors in your node.js console", | ||
"version": "1.5.0", | ||
"version": "1.6.0", | ||
"author": "DABH", | ||
@@ -42,5 +42,5 @@ "contributors": [ | ||
"devDependencies": { | ||
"eslint": "^5.2.0", | ||
"eslint-config-google": "^0.11.0" | ||
"eslint": "^8.9.0", | ||
"eslint-config-google": "^0.14.0" | ||
} | ||
} |
@@ -25,2 +25,10 @@ // Type definitions for Colors.js 1.2 | ||
export function brightRed(str: string): string; | ||
export function brightGreen(str: string): string; | ||
export function brightYellow(str: string): string; | ||
export function brightBlue(str: string): string; | ||
export function brightMagenta(str: string): string; | ||
export function brightCyan(str: string): string; | ||
export function brightWhite(str: string): string; | ||
export function bgBlack(str: string): string; | ||
@@ -35,2 +43,10 @@ export function bgRed(str: string): string; | ||
export function bgBrightRed(str: string): string; | ||
export function bgBrightGreen(str: string): string; | ||
export function bgBrightYellow(str: string): string; | ||
export function bgBrightBlue(str: string): string; | ||
export function bgBrightMagenta(str: string): string; | ||
export function bgBrightCyan(str: string): string; | ||
export function bgBrightWhite(str: string): string; | ||
export function reset(str: string): string; | ||
@@ -37,0 +53,0 @@ export function bold(str: string): string; |
41466
1049