myexit

0.1.0 • Public • Published

Exit

Module for exiting application on certain condition(s).

API

Methods are chainable.

whenUncaughtException()

Exits app when uncaught exception happens.

whenMemoryLimit(limit)

Exits when app exceeds memory limit (bytes).

License

BSD

Package Sidebar

Install

npm i myexit

Weekly Downloads

0

Version

0.1.0

License

BSD

Last publish

Collaborators

  • titarenko