@types/wtfnode
Advanced tools
@@ -1,4 +0,10 @@ | ||
| export function dump(): void; | ||
| export interface DumpOptions { | ||
| /** | ||
| * Whether to include full stack traces in output, default false | ||
| */ | ||
| fullStacks?: boolean; | ||
| } | ||
| export function dump(options?: DumpOptions): void; | ||
| export function init(): void; | ||
| export function setLogger(type: "info" | "warn" | "error", fn: (message?: any, ...optionalParams: any[]) => void): void; | ||
| export function resetLoggers(): void; |
| { | ||
| "name": "@types/wtfnode", | ||
| "version": "0.7.3", | ||
| "version": "0.10.0", | ||
| "description": "TypeScript definitions for wtfnode", | ||
@@ -23,4 +23,5 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/wtfnode", | ||
| "dependencies": {}, | ||
| "typesPublisherContentHash": "35154458bc50033b056641d256092f4e6a22e469499d1abd142ecbcdc715ef9b", | ||
| "typeScriptVersion": "4.5" | ||
| "peerDependencies": {}, | ||
| "typesPublisherContentHash": "ec1ce237c5727a707b702dcf1fc7475c343ebf15cbd90abd16895d4554310710", | ||
| "typeScriptVersion": "5.2" | ||
| } |
@@ -11,3 +11,9 @@ # Installation | ||
| ````ts | ||
| export function dump(): void; | ||
| export interface DumpOptions { | ||
| /** | ||
| * Whether to include full stack traces in output, default false | ||
| */ | ||
| fullStacks?: boolean; | ||
| } | ||
| export function dump(options?: DumpOptions): void; | ||
| export function init(): void; | ||
@@ -20,3 +26,3 @@ export function setLogger(type: "info" | "warn" | "error", fn: (message?: any, ...optionalParams: any[]) => void): void; | ||
| ### Additional Details | ||
| * Last updated: Tue, 07 Nov 2023 15:11:36 GMT | ||
| * Last updated: Fri, 15 Aug 2025 08:39:32 GMT | ||
| * Dependencies: none | ||
@@ -23,0 +29,0 @@ |
Trivial Package
Supply chain riskPackages less than 10 lines of code are easily copied into your own project and may not warrant the additional supply chain risk of an external dependency.
Found 1 instance in 1 package
Trivial Package
Supply chain riskPackages less than 10 lines of code are easily copied into your own project and may not warrant the additional supply chain risk of an external dependency.
Found 1 instance in 1 package
3312
12.16%10
150%30
25%