🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

pear-crasher

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pear-crasher

Pear uncaught crash handler

latest
npmnpm
Version
1.0.1
Version published
Weekly downloads
120
-60.78%
Maintainers
1
Weekly downloads
 
Created
Source

pear-crasher

Pear uncaught crash handler

API

crasher(name, dir, write)

Sets up unhandled rejection and unhandled exception crash handlers.

  • name <string> is entered into logs and determines name of log file.
  • dir <string> path to store log files. Typically the pear-constants SWAP.
  • write <boolean> - default false. Logs are always printed, if write is true logs are also saved to dir.

License

Apache-2.0

FAQs

Package last updated on 13 Aug 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts