on-crash

0.1.1 • Public • Published

on-crash

listen for the next uncaught error x-platform. Useful for testing your async errors aren't getting chewed up somewhere they shouldn't

Installation

With packin or component

$ packin add jkroso/on-crash

then in your app:

var onCrash = require('on-crash')

API

onCrash(fn)

call fn at the next crash

Running the tests

Just run make and navigate your browser to the test.html file

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.1.1
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.1.1
    1
  • 0.1.0
    0

Package Sidebar

Install

npm i on-crash

Weekly Downloads

1

Version

0.1.1

License

MIT

Last publish

Collaborators

  • jkroso