npm 包搜索

搜索 npm 上的 JavaScript 依赖包

搜索 "optional" 的结果(共 16 个)
@babel/plugin-proposal-optional-chaining

Transform optional chaining operators into a series of nil checks

MIT
optional-require

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

Apache-2.0
@babel/plugin-syntax-optional-chaining

Allow parsing of optional properties

MIT
postcss-replace-overflow-wrap

PostCSS plugin to replace overflow-wrap with word-wrap or optionally retain both declarations.

MIT
@jridgewell/resolve-uri

Resolve a URI relative to an optional base URI

MIT
abortcontroller-polyfill

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

MIT
browserify-optional

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

MIT
default-resolution

Get the default resolution time based on the current node version, optionally overridable

MIT
now-and-later

Map over an array or object of values in parallel or series, passing each through the async iterator, with optional lifecycle hooks.

MIT
require_optional

Allows you declare optionalPeerDependencies that can be satisfied by the top level module but ignored if they are not.

Apache-2.0
extract-comments

Uses esprima to extract line and block comments from a string of JavaScript. Also optionally parses code context (the next line of code after a comment).

MIT
cookies

Cookies, optionally signed using Keygrip.

MIT
fast-string-truncated-width

A fast function for calculating where a string should be truncated, given an optional width limit and an ellipsis string.

MIT
bundle-runner

run webpack bundles in Node.js with optional VM sandboxing

MIT
cwd

Easily get the CWD (current working directory) of a project based on package.json, optionally starting from a given path. (node.js/javascript util)

MIT