assaf-color-printer 1.0.0 → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -14,6 +14,7 @@ import { color } from "assaf-color-printer";
14
14
  color.red("This is a red text...");
15
15
  color.green("This is a green text...");
16
16
  color.blue("This is a blue text...");
17
+ color.yellow("This is a yellow text...");
17
18
  ```
18
19
 
19
20
  Happy coding 😊
package/build/color.d.ts CHANGED
@@ -2,6 +2,7 @@ declare class Color {
2
2
  red(text: string): void;
3
3
  green(text: string): void;
4
4
  blue(text: string): void;
5
+ yellow(text: string): void;
5
6
  }
6
7
  export declare const color: Color;
7
8
  export {};
package/build/color.js CHANGED
@@ -15,5 +15,8 @@ class Color {
15
15
  blue(text) {
16
16
  console.log(colors_1.default.blue(text));
17
17
  }
18
+ yellow(text) {
19
+ console.log(colors_1.default.yellow(text));
20
+ }
18
21
  }
19
22
  exports.color = new Color();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "assaf-color-printer",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "author": "Assaf Finkelshtein",
5
5
  "description": "Console printer in colors.",
6
6
  "keywords": [