backtrace
Library for getting stack traces in cross browser manner.
Last updated 13 years ago by V1 .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ npm install backtrace 
SYNC missed versions from official npm registry.

BackTrace

A simple utility to create a full and human readable stack trace across node and browsers old ancient browsers which can be manipulated. To use this in browsers, run the code through browserify.

Installation

This module is released through npm:

npm install --save backtrace

Usage

var BackTrace = require('backtrace');

//
// Create a new stack trace
//
var trace = new BackTrace();

console.log(trace);
console.log(JSON.stringify(trace));

//
// Remove items from the stacktrace.
//
trace.slice(1);
console.log(trace);
console.log(JSON.stringify(trace));

License

MIT

Current Tags

  • 0.0.2                                ...           latest (12 years ago)

3 Versions

  • 0.0.2                                ...           12 years ago
  • 0.0.1                                ...           13 years ago
  • 0.0.0                                ...           13 years ago
Maintainers (1)
Downloads
Total 15
Today 0
This Week 4
This Month 10
Last Day 0
Last Week 0
Last Month 0
Dependencies (1)
Dev Dependencies (0)
None
Dependents (0)
None

© 2010 - cnpmjs.org x YWFE | Home | YWFE