Comparing version 1.0.2 to 1.0.3
{ | ||
"name": "deborator", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "a TypeScript decorator, to add console.log() to all methods and properties of a class.", | ||
@@ -5,0 +5,0 @@ "main": "deborator.ts", |
@@ -19,5 +19,13 @@ # deborator readme | ||
Install deborator via yarn: | ||
``` | ||
import { deborator } from "./deborator"; | ||
yarn add deborator | ||
``` | ||
Import deborator into the TypeScript file, and apply the decorator to the class you want to debug: | ||
``` | ||
import { deborator } from "deborator"; | ||
@deborator | ||
@@ -24,0 +32,0 @@ class MyClass { |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
6129
63
0