Big update!Introducing GitHub Bot Commands. Learn more
Socket
Log inBook a demo

@types/stack-utils

Package Overview
Dependencies
0
Maintainers
1
Versions
4
Issues
File Explorer

Advanced tools

@types/stack-utils

TypeScript definitions for stack-utils

    2.0.1ts3.6ts3.7ts3.8ts3.9ts4.0ts4.1ts4.2ts4.3ts4.4ts4.5ts4.6ts4.7ts4.8ts4.9ts5.0latest

Version published
Maintainers
1
Weekly downloads
15,657,115
decreased by-9.45%

Weekly downloads

Readme

Source

Installation

npm install --save @types/stack-utils

Summary

This package contains type definitions for stack-utils (https://github.com/tapjs/stack-utils#readme).

Details

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

index.d.ts

// Type definitions for stack-utils 2.0 // Project: https://github.com/tapjs/stack-utils#readme // Definitions by: BendingBender <https://github.com/BendingBender> // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // TypeScript Version: 2.2 export = StackUtils; declare class StackUtils { static nodeInternals(): RegExp[]; constructor(options?: StackUtils.Options); clean(stack: string | string[]): string; capture(limit?: number, startStackFunction?: Function): StackUtils.CallSite[]; capture(startStackFunction: Function): StackUtils.CallSite[]; captureString(limit?: number, startStackFunction?: Function): string; captureString(startStackFunction: Function): string; at(startStackFunction?: Function): StackUtils.CallSiteLike; parseLine(line: string): StackUtils.StackLineData | null; } declare namespace StackUtils { interface Options { internals?: RegExp[] | undefined; ignoredPackages?: string[] | undefined; cwd?: string | undefined; wrapCallSite?(callSite: CallSite): CallSite; } interface CallSite { getThis(): object | undefined; getTypeName(): string; getFunction(): Function | undefined; getFunctionName(): string; getMethodName(): string | null; getFileName(): string | undefined; getLineNumber(): number; getColumnNumber(): number; getEvalOrigin(): CallSite | string; isToplevel(): boolean; isEval(): boolean; isNative(): boolean; isConstructor(): boolean; } interface CallSiteLike extends StackData { type?: string | undefined; } interface StackLineData extends StackData { evalLine?: number | undefined; evalColumn?: number | undefined; evalFile?: string | undefined; } interface StackData { line?: number | undefined; column?: number | undefined; file?: string | undefined; constructor?: boolean | undefined; evalOrigin?: string | undefined; native?: boolean | undefined; function?: string | undefined; method?: string | undefined; } }

Additional Details

  • Last updated: Fri, 02 Jul 2021 22:32:52 GMT
  • Dependencies: none
  • Global values: none

Credits

These definitions were written by BendingBender.

FAQs

What is @types/stack-utils?

TypeScript definitions for stack-utils

Is @types/stack-utils popular?

The npm package @types/stack-utils receives a total of 12,039,075 weekly downloads. As such, @types/stack-utils popularity was classified as popular.

Is @types/stack-utils well maintained?

We found that @types/stack-utils demonstrated a not healthy version release cadence and project activity because the last version was released a year ago.It has 1 open source maintainer collaborating on the project.

Last updated on 02 Jul 2021

Did you know?

Socket installs a Github app to automatically flag issues on every pull request and report the health of your dependencies. Find out what is inside your node modules and prevent malicious activity before you update the dependencies.

Install Socket
Socket

Product

Subscribe to our newsletter

Get open source security insights delivered straight into your inbox. Be the first to learn about new features and product updates.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc