JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 4129026
  • Score
    100M100P100Q194695F
  • License SEE LICENSE IN LICENSE

Generate artificial backtrace by walking arguments.callee.caller chain

Package Exports

  • stack-generator

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 (stack-generator) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

stack-generator

Build Status Coverage Status Code Climate

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

Usage

StackGenerator.backtrace()

=> [StackFrame('funName1', []), 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

(See Karma Config for list of browsers tested by CI)

  • Chrome 1+
  • Firefox 3+
  • Safari 6+
  • Opera 9+
  • IE 6+
  • iOS 6+
  • Android 4.0+

Contributing

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

License

This project is licensed to the Public Domain