npm 包搜索

搜索 npm 上的 JavaScript 依赖包

搜索 "throws" 的结果(共 8 个)
@ava/babel-plugin-throws-helper

Babel plugin for protecting against improper use of `t.throws()` in AVA

MIT
babel-plugin-ava-throws-helper

Babel plugin for protecting against improper use of `t.throws()` in AVA

MIT
@zoroaster/assert

The Assertion Library For Zoroaster Context Testing Framework Including Deep Equal & Assert Throws.

AGPL-3.0
babel-plugin-undeclared-variables-check-with-config

This plugin throws a compile-time error on references to undeclared variables

MIT
select-dom

Lightweight querySelector/All/closest wrapper that returns an array and optionally throws if elements are not found

MIT
assert-throws

An assertion method to check if a sync or async function throws and assert on error properties.

MIT
handle-errors

Handling/creating hybrid errors. Hybrid middleware between callbacks and throws. Helpful util for modules that have hybrid APIs and want when they use promises, directly to throw the errors; when use callbacks to pass errors to first argument of this call

MIT
@isaacs/catcher

Call a function and catch any errors it throws

BlueOak-1.0.0