npm 包搜索

搜索 npm 上的 JavaScript 依赖包

搜索 "catch" 的结果(共 10 个)
domain-browser

Node's domain module for the web browser. This is merely an evented try...catch with the same API as node, nothing more.

Artistic-2.0
optional-require

NodeJS Require that let you handle module not found error without try/catch

Apache-2.0
abortcontroller-polyfill

Polyfill/ponyfill for the AbortController DOM API + optional patching of fetch (stub that calls catch, doesn't actually abort request).

MIT
is-json

Check if a value is a valid JSON object/array string (or a plain object), without try/catch on the caller side.

ISC
segfault-handler

catches SIGSEGV and prints diagnostic information

BSD-3-Clause
browserify-optional

A browserify transform that allows optional dependencies in try..catch blocks

MIT
p-lazy

Create a lazy promise that defers execution until it's awaited or when `.then()`, `.catch()`, or `.finally()` is called

MIT
bounce

Selective error catching and rewrite rules

BSD-3-Clause
babel-helper-evaluate-path

path.evaluate wrapped in a try catch

MIT