🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

essentials

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

essentials

Essential initialization for every JavaScript process

1.2.0
latest
Source
npm
Version published
Weekly downloads
857K
-8.33%
Maintainers
1
Weekly downloads
 
Created
Source

npm version

essentials

Essential initialization for every JavaScript process, ensures that:

Error stack traces list all stack frames

Affects all major engines, aside Firefox, in which it's not adjustable and hardcoded to 128.

Unhandled promise rejections are exposed as uncaught exceptions

Affects all V8 based engines (so Chrome and Node.js) and Microsoft Edge

In other engines it is recommended to rely on some Promise polyfill, which ensures unhandled rejections are being communicated with unhandledrejection events on global object.

Installation

npm install essentials

Usage

At top of main (entry) module simply require

require("essentials");

Keywords

initialization

FAQs

Package last updated on 17 Dec 2021

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