beautiful-text 0.0.1-security → 0.2.2

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of beautiful-text might be problematic. Click here for more details.

@@ -0,0 +1,38 @@
1
+ /**
2
+ * Print colorful console text in browser
3
+ */
4
+ exports.black = function (text) {
5
+ console.log('%c' + text, 'color: black;');
6
+ }
7
+
8
+ exports.red = function (text) {
9
+ console.log('%c' + text, 'color: red;');
10
+ }
11
+
12
+ exports.green = function (text) {
13
+ console.log('%c' + text, 'color: green;');
14
+ }
15
+
16
+ exports.yellow = function (text) {
17
+ console.log('%c' + text, 'color: yellow;');
18
+ }
19
+
20
+ exports.blue = function (text) {
21
+ console.log('%c' + text, 'color: blue;');
22
+ }
23
+
24
+ exports.magenta = function (text) {
25
+ console.log('%c' + text, 'color: magenta;');
26
+ }
27
+
28
+ exports.cyan = function (text) {
29
+ console.log('%c' + text, 'color: cyan;');
30
+ }
31
+
32
+ exports.white = function (text) {
33
+ console.log('%c' + text, 'color: white;');
34
+ }
35
+
36
+ exports.grey = function (text) {
37
+ console.log('%c' + text, 'color: grey;');
38
+ }