JSPM

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

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

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