FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

www.stacktracejs.com/docs/stack-generator at master · stacktracejs/www.stacktracejs.com · GitHub

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
<h1 id="stack-generator">stack-generator</h1>
<p><a href="https://travis-ci.org/stacktracejs/stack-generator"><img src="https://travis-ci.org/stacktracejs/stack-generator.svg?branch=master" alt="Build Status"></a> <a href="https://coveralls.io/r/stacktracejs/stack-generator"><img src="https://img.shields.io/coveralls/stacktracejs/stack-generator.svg" alt="Coverage Status"></a> <a href="https://opensource.org/licenses/MIT"><img src="https://img.shields.io/github/license/stacktracejs/stack-generator.svg" alt="GitHub license"></a></p>
<p>Generate artificial backtrace by walking arguments.callee.caller chain. <strong>Works everywhere except strict-mode</strong>.</p>
<h2 id="usage">Usage</h2>
<pre><code>StackGenerator.backtrace()

=&gt; [StackFrame({functionName: &#39;foo&#39;, args: []}), StackFrame(..), StackFrame(..)]
</code></pre><h2 id="installation">Installation</h2>
<pre><code>npm install stack-generator
bower install stack-generator
https://raw.githubusercontent.com/stacktracejs/stack-generator/master/dist/stack-generator.min.js
</code></pre><h2 id="browser-support">Browser Support</h2>
<p><a href="https://saucelabs.com/u/stacktracejs"><img src="https://saucelabs.com/browser-matrix/stacktracejs.svg" alt="Sauce Test Status"></a></p>
<h2 id="contributing">Contributing</h2>
<p>Want to be listed as a <em>Contributor</em>? Start with the <a href="CONTRIBUTING.md">Contributing Guide</a>!</p>
<h2 id="license">License</h2>
<p>This project is licensed to the <a href="http://unlicense.org">Public Domain</a></p>

Back | FazBrowse Home | New Git URL