Comparing version 0.0.6 to 0.1.0
@@ -17,4 +17,4 @@ /****************************************************************** | ||
bg?: string; | ||
}; | ||
} | false; | ||
declare const _default: (str: string, style: StyleOptions) => string; | ||
export default _default; |
@@ -42,2 +42,4 @@ "use strict"; | ||
exports.default = (str, style) => { | ||
if (!style) | ||
return str; | ||
let c = chalk_1.default; | ||
@@ -44,0 +46,0 @@ if (style.color) { |
{ | ||
"name": "cli-style", | ||
"version": "0.0.6", | ||
"version": "0.1.0", | ||
"description": "A simple tool allows you to set styles to command line output more easier.", | ||
@@ -36,9 +36,9 @@ "main": "dist/index.js", | ||
"devDependencies": { | ||
"@types/node": "^14.6.4", | ||
"@typescript-eslint/eslint-plugin": "^4.1.0", | ||
"@typescript-eslint/parser": "^4.1.0", | ||
"eslint": "^7.8.1", | ||
"@types/node": "^14.14.2", | ||
"@typescript-eslint/eslint-plugin": "^4.5.0", | ||
"@typescript-eslint/parser": "^4.5.0", | ||
"eslint": "^7.12.0", | ||
"ts-node": "^9.0.0", | ||
"typescript": "^4.0.2" | ||
"typescript": "^4.0.3" | ||
} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
6364
78