JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 359296
  • Score
    100M100P100Q178449F
  • License MIT

TypeScript definitions for stack-trace

Package Exports

    This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@types/stack-trace) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

    Readme

    Installation

    npm install --save @types/stack-trace

    Summary

    This package contains type definitions for 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

    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: Tue, 07 Nov 2023 15:11:36 GMT
    • Dependencies: none

    Credits

    These definitions were written by Exceptionless.