mirror-rhinstaller-node-cache/stack-generator
2026-08-27 18:32:54 +02:00
..
dist b5d41c3cb6b2ee0dc03ecae6cf35d5f0430bf24380e62b42976f73f3803dd76f package.json 2026-08-27 18:32:54 +02:00
LICENSE b5d41c3cb6b2ee0dc03ecae6cf35d5f0430bf24380e62b42976f73f3803dd76f package.json 2026-08-27 18:32:54 +02:00
package.json b5d41c3cb6b2ee0dc03ecae6cf35d5f0430bf24380e62b42976f73f3803dd76f package.json 2026-08-27 18:32:54 +02:00
README.md b5d41c3cb6b2ee0dc03ecae6cf35d5f0430bf24380e62b42976f73f3803dd76f package.json 2026-08-27 18:32:54 +02:00
stack-generator.d.ts b5d41c3cb6b2ee0dc03ecae6cf35d5f0430bf24380e62b42976f73f3803dd76f package.json 2026-08-27 18:32:54 +02:00
stack-generator.js b5d41c3cb6b2ee0dc03ecae6cf35d5f0430bf24380e62b42976f73f3803dd76f package.json 2026-08-27 18:32:54 +02:00

stack-generator

Build Status Coverage Status GitHub license dependencies module format code of conduct

Generate artificial stacktrace by walking arguments.callee.caller chain. Works everywhere except strict-mode.

Usage

StackGenerator.backtrace()

=> [StackFrame({functionName: 'foo', args: []}), StackFrame(..), StackFrame(..)]

Installation

npm install stack-generator
bower install stack-generator
https://raw.githubusercontent.com/stacktracejs/stack-generator/master/dist/stack-generator.min.js

Browser Support

Sauce Test Status

Contributing

Want to be listed as a Contributor? Start with the Contributing Guide!