capture-stack-trace
Error.captureStackTrace ponyfill
Last updated 7 years ago by floatdrop .
MIT · Repository · Bugs · Original npm
$ cnpm install capture-stack-trace 
SYNC missed versions from official npm registry.

capture-stack-trace Build Status

Ponyfill for Error.captureStackTrace

Install

$ npm install --save capture-stack-trace

Usage

var captureStackTrace = require('capture-stack-trace');

captureStackTrace({});
// => {stack: ...}

API

captureStackTrace(error)

error

Required
Type: Object

Target Object, that will recieve stack property.

License

MIT © Vsevolod Strukchinsky

Current Tags

  • 2.1.0                                ...           latest (3 years ago)

3 Versions

  • 2.1.0                                ...           3 years ago
  • 1.0.2                                ...           3 years ago
  • 1.0.1                                ...           7 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (0)
None
Dev Dependencies (1)
Dependents (0)
None

Copyright 2013 - present © cnpmjs.org