npm 包搜索

搜索 npm 上的 JavaScript 依赖包

搜索 "catch" 的结果(共 49 个)
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
eslint-config-problems

An eslint config that catches problems in your code, without checking style. For use with prettier.

ISC
babel-plugin-syntax-optional-catch-binding

Allow parsing of optional catch bindings

MIT
tape-catch

a wrapper around tape that catches and reports exceptions

MIT
react-transform-catch-errors

React Transform that catches errors inside React components

MIT
try-to-catch

function try-catch wrapper for promises

MIT
eslint-plugin-no-empty-blocks

An extended version of the `no-empty` rule that adds an option to allow empty catch blocks.

MIT
optional

Allows you to optionally include modules without surrounding everything with 'try/catch'

MIT
babel-preset-react-hmre

Babel preset for React HMR and Error Catching

ISC
tryc

Async try-catch

try-async

Async try-catch like interface for Node.js.

MIT
broccoli-es3-safe-recast

broccoli filter for an es5 -> es3 recast. catch/finally -> ['catch'] & ['finally']

ISC
hapi-no-var

ESLint rule to enforce the usage of var declarations only in try-catch scope

BSD-3-Clause
tryit

Module to wrap try-catch for better performance and cleaner API.

MIT
json-parse-safe

Parse your json safely and stop writing try {} catch {}

ISC
@babel/plugin-syntax-optional-catch-binding

Allow parsing of optional catch bindings

MIT
eslint-plugin-redos

ESLint plugin for catching ReDoS vulnerability

MIT
catchup

Graceful error handling. Because core `domain` module is deprecated. This share almost the same API.

MIT
try-catch-core

Low-level package to handle completion and errors of sync or asynchronous functions, using [once][] and [dezalgo][] libs. Useful for and used in higher-level libs such as [always-done][] to handle completion of anything.

MIT
@hapi/bounce

Selective error catching and rewrite rules

BSD-3-Clause