Socket
Socket
Sign inDemoInstall

@types/stack-trace

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/stack-trace

TypeScript definitions for node-stack-trace


Version published
Weekly downloads
332K
increased by7.18%
Maintainers
1
Weekly downloads
 
Created
Source

Installation

npm install --save @types/stack-trace

Summary

This package contains type definitions for node-stack-trace (https://github.com/felixge/node-stack-trace).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/stack-trace.

index.d.ts

// Type definitions for node-stack-trace
// Project: https://github.com/felixge/node-stack-trace
// Definitions by: Exceptionless <https://github.com/exceptionless>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped


export interface StackFrame {
    getTypeName(): string;
    getFunctionName(): string;
    getMethodName(): string;
    getFileName(): string;
    getLineNumber(): number;
    getColumnNumber(): number;
    isNative(): boolean;
    isConstructor(): boolean;
}

export declare function get(belowFn?: () => void): StackFrame[];
export declare function parse(err: Error): StackFrame[];

Additional Details

  • Last updated: Mon, 18 Apr 2022 23:33:55 GMT
  • Dependencies: none
  • Global values: none

Credits

These definitions were written by Exceptionless.

FAQs

Package last updated on 18 Apr 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc