Socket
Book a DemoInstallSign in
Socket

deborator

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

deborator - npm Package Compare versions

Comparing version

to
1.0.3

2

package.json
{
"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 {

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.