{"_id":"@types/stack-utils","_rev":"3182379","name":"@types/stack-utils","description":"TypeScript definitions for stack-utils","dist-tags":{"latest":"2.0.3","ts2.2":"1.0.1","ts2.3":"1.0.1","ts2.4":"1.0.1","ts2.5":"1.0.1","ts2.6":"1.0.1","ts2.7":"1.0.1","ts2.8":"1.0.1","ts2.9":"1.0.1","ts3.0":"1.0.1","ts3.1":"1.0.1","ts3.2":"2.0.0","ts3.3":"2.0.0","ts3.4":"2.0.0","ts3.5":"2.0.0","ts3.6":"2.0.1","ts3.7":"2.0.1","ts3.8":"2.0.1","ts3.9":"2.0.1","ts4.0":"2.0.1","ts4.1":"2.0.1","ts4.2":"2.0.1","ts4.3":"2.0.1","ts4.4":"2.0.1","ts4.5":"2.0.3","ts4.6":"2.0.3","ts4.7":"2.0.3","ts4.8":"2.0.3","ts4.9":"2.0.3","ts5.0":"2.0.3","ts5.1":"2.0.3","ts5.2":"2.0.3","ts5.3":"2.0.3","ts5.4":"2.0.3","ts5.5":"2.0.3","ts5.6":"2.0.3","ts5.7":"2.0.3","ts5.8":"2.0.3","ts5.9":"2.0.3","ts6.0":"2.0.3"},"maintainers":[{"name":"types","email":""}],"time":{"modified":"2025-09-01T00:48:37.000Z","created":"2017-08-11T13:42:33.725Z","2.0.3":"2023-11-07T17:00:38.573Z","2.0.2":"2023-10-18T15:31:19.106Z","2.0.1":"2021-07-02T22:33:53.060Z","2.0.0":"2020-09-22T00:32:44.863Z","1.0.1":"2017-11-07T17:49:56.648Z","1.0.0":"2017-08-11T13:42:33.725Z"},"users":{},"repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/stack-utils"},"versions":{"2.0.3":{"name":"@types/stack-utils","version":"2.0.3","description":"TypeScript definitions for stack-utils","homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/stack-utils","license":"MIT","contributors":[{"name":"BendingBender","githubUsername":"BendingBender","url":"https://github.com/BendingBender"}],"main":"","types":"index.d.ts","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/stack-utils"},"scripts":{},"dependencies":{},"typesPublisherContentHash":"ab51d155e7946b0b0e0edab741811a35172a48de2674195feb31eaaf7bf992b7","typeScriptVersion":"4.5","_id":"@types/stack-utils@2.0.3","dist":{"shasum":"6209321eb2c1712a7e7466422b8cb1fc0d9dd5d8","size":2012,"noattachment":false,"key":"/@types/stack-utils/-/@types/stack-utils-2.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/stack-utils/download/@types/stack-utils-2.0.3.tgz"},"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"directories":{},"maintainers":[{"name":"types","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/stack-utils_2.0.3_1699376438422_0.7620630988387651"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-11-07T17:00:38.573Z","publish_time":1699376438573,"_source_registry_name":"default","_cnpm_publish_time":1699376438573},"2.0.2":{"name":"@types/stack-utils","version":"2.0.2","description":"TypeScript definitions for stack-utils","homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/stack-utils","license":"MIT","contributors":[{"name":"BendingBender","githubUsername":"BendingBender","url":"https://github.com/BendingBender"}],"main":"","types":"index.d.ts","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/stack-utils"},"scripts":{},"dependencies":{},"typesPublisherContentHash":"80f04f2e68d110acd200ffbfdd0ab9defadd3c9e99d7249aeedb5da0e95fae87","typeScriptVersion":"4.5","_id":"@types/stack-utils@2.0.2","dist":{"shasum":"01284dde9ef4e6d8cef6422798d9a3ad18a66f8b","size":2014,"noattachment":false,"key":"/@types/stack-utils/-/@types/stack-utils-2.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/stack-utils/download/@types/stack-utils-2.0.2.tgz"},"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"directories":{},"maintainers":[{"name":"types","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/stack-utils_2.0.2_1697643078897_0.11400343378811062"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-10-18T15:31:19.106Z","publish_time":1697643079106,"_source_registry_name":"default","_cnpm_publish_time":1697643079106},"2.0.1":{"name":"@types/stack-utils","version":"2.0.1","description":"TypeScript definitions for stack-utils","homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/stack-utils","license":"MIT","contributors":[{"name":"BendingBender","url":"https://github.com/BendingBender","githubUsername":"BendingBender"}],"main":"","types":"index.d.ts","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/stack-utils"},"scripts":{},"dependencies":{},"typesPublisherContentHash":"bfc4261f4e970131a82704cd51ce862a2f5c7e33c5447030510300c6fe1ee268","typeScriptVersion":"3.6","_id":"@types/stack-utils@2.0.1","dist":{"shasum":"20f18294f797f2209b5f65c8e3b5c8e8261d127c","size":2038,"noattachment":false,"key":"/@types/stack-utils/-/@types/stack-utils-2.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/stack-utils/download/@types/stack-utils-2.0.1.tgz"},"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"directories":{},"maintainers":[{"name":"types","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/stack-utils_2.0.1_1625265232935_0.2895202044317464"},"_hasShrinkwrap":false,"publish_time":1625265233060,"_cnpm_publish_time":1625265233060},"2.0.0":{"name":"@types/stack-utils","version":"2.0.0","description":"TypeScript definitions for stack-utils","license":"MIT","contributors":[{"name":"BendingBender","url":"https://github.com/BendingBender","githubUsername":"BendingBender"}],"main":"","types":"index.d.ts","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/stack-utils"},"scripts":{},"dependencies":{},"typesPublisherContentHash":"53c84779043276d5e313653eabfc4fedae5b103c7dc645555065fdc3b4b0a982","typeScriptVersion":"3.2","_id":"@types/stack-utils@2.0.0","dist":{"shasum":"7036640b4e21cc2f259ae826ce843d277dad8cff","size":1948,"noattachment":false,"key":"/@types/stack-utils/-/@types/stack-utils-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/stack-utils/download/@types/stack-utils-2.0.0.tgz"},"maintainers":[{"name":"types","email":""}],"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/stack-utils_2.0.0_1600734764668_0.7071325380885607"},"_hasShrinkwrap":false,"publish_time":1600734764863,"_cnpm_publish_time":1600734764863},"1.0.1":{"name":"@types/stack-utils","version":"1.0.1","description":"TypeScript definitions for stack-utils","license":"MIT","contributors":[{"name":"BendingBender","url":"https://github.com/BendingBender","githubUsername":"BendingBender"}],"main":"","repository":{"type":"git","url":"https://www.github.com/DefinitelyTyped/DefinitelyTyped.git"},"scripts":{},"dependencies":{},"typesPublisherContentHash":"c3d5963386c8535320c11b5edfb22c4bf60fb3e4bcbca34f094f7026b9749d86","typeScriptVersion":"2.2","_id":"@types/stack-utils@1.0.1","dist":{"shasum":"0a851d3bd96498fa25c33ab7278ed3bd65f06c3e","size":1932,"noattachment":false,"key":"/@types/stack-utils/-/@types/stack-utils-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/stack-utils/download/@types/stack-utils-1.0.1.tgz"},"maintainers":[{"name":"types","email":""}],"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/stack-utils-1.0.1.tgz_1510076996586_0.37928241747431457"},"directories":{},"publish_time":1510076996648,"_hasShrinkwrap":false,"_cnpm_publish_time":1510076996648},"1.0.0":{"name":"@types/stack-utils","version":"1.0.0","description":"TypeScript definitions for stack-utils","license":"MIT","contributors":[{"name":"BendingBender","url":"https://github.com/BendingBender"}],"main":"","repository":{"type":"git","url":"https://www.github.com/DefinitelyTyped/DefinitelyTyped.git"},"scripts":{},"dependencies":{},"peerDependencies":{},"typesPublisherContentHash":"4a8bdd8a246bd85e4539290064622166c024f461333238af5e98b66a4acab162","typeScriptVersion":"2.2","_id":"@types/stack-utils@1.0.0","dist":{"shasum":"35433f375f564d0f0b17aba8d6effb0d3c0920c3","size":1952,"noattachment":false,"key":"/@types/stack-utils/-/@types/stack-utils-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/stack-utils/download/@types/stack-utils-1.0.0.tgz"},"maintainers":[{"name":"types","email":""}],"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/stack-utils-1.0.0.tgz_1502458953657_0.28087693359702826"},"directories":{},"publish_time":1502458953725,"_hasShrinkwrap":false,"_cnpm_publish_time":1502458953725}},"readme":"# Installation\r\n> `npm install --save @types/stack-utils`\r\n\r\n# Summary\r\nThis package contains type definitions for stack-utils (https://github.com/tapjs/stack-utils#readme).\r\n\r\n# Details\r\nFiles were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/stack-utils.\r\n## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/stack-utils/index.d.ts)\r\n````ts\r\nexport = StackUtils;\n\ndeclare class StackUtils {\n    static nodeInternals(): RegExp[];\n    constructor(options?: StackUtils.Options);\n    clean(stack: string | string[]): string;\n    capture(limit?: number, startStackFunction?: Function): StackUtils.CallSite[];\n    capture(startStackFunction: Function): StackUtils.CallSite[];\n    captureString(limit?: number, startStackFunction?: Function): string;\n    captureString(startStackFunction: Function): string;\n    at(startStackFunction?: Function): StackUtils.CallSiteLike;\n    parseLine(line: string): StackUtils.StackLineData | null;\n}\n\ndeclare namespace StackUtils {\n    interface Options {\n        internals?: RegExp[] | undefined;\n        ignoredPackages?: string[] | undefined;\n        cwd?: string | undefined;\n        wrapCallSite?(callSite: CallSite): CallSite;\n    }\n\n    interface CallSite {\n        getThis(): object | undefined;\n        getTypeName(): string;\n        getFunction(): Function | undefined;\n        getFunctionName(): string;\n        getMethodName(): string | null;\n        getFileName(): string | undefined;\n        getLineNumber(): number;\n        getColumnNumber(): number;\n        getEvalOrigin(): CallSite | string;\n        isToplevel(): boolean;\n        isEval(): boolean;\n        isNative(): boolean;\n        isConstructor(): boolean;\n    }\n\n    interface CallSiteLike extends StackData {\n        type?: string | undefined;\n    }\n\n    interface StackLineData extends StackData {\n        evalLine?: number | undefined;\n        evalColumn?: number | undefined;\n        evalFile?: string | undefined;\n    }\n\n    interface StackData {\n        line?: number | undefined;\n        column?: number | undefined;\n        file?: string | undefined;\n        constructor?: boolean | undefined;\n        evalOrigin?: string | undefined;\n        native?: boolean | undefined;\n        function?: string | undefined;\n        method?: string | undefined;\n    }\n}\n\r\n````\r\n\r\n### Additional Details\r\n * Last updated: Tue, 07 Nov 2023 15:11:36 GMT\r\n * Dependencies: none\r\n\r\n# Credits\r\nThese definitions were written by [BendingBender](https://github.com/BendingBender).\r\n","_attachments":{},"homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/stack-utils","license":"MIT"}