npm 包搜索

搜索 npm 上的 JavaScript 依赖包

搜索 "optional" 的结果(共 96 个)
@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
node-gyp-build-optional-packages

Build tool and bindings loader for node-gyp that supports prebuilds

MIT
p-all

Run promise-returning & async functions concurrently with optional limited concurrency

MIT
versions

CLI to increment a project's version and optionally publish release to Github/Gitea

BSD-2-Clause
caterpillar-human

Turn your [Caterpillar](https://github.com/bevry/caterpillar) logger stream into a beautiful readable format with colors and optional debug information

MIT
MIT
tiny-lru

A fast, lightweight LRU (Least Recently Used) cache for JavaScript with O(1) operations and optional TTL support.

BSD-3-Clause
text-diff

Compute a diff between two pieces of text with support for same-line diffs, and optionally display a visual diff as HTML. Module made from the text-diff-match-patch library.

Apache-2.0
changelogx

Yet another changelog generator from git commits, based on conventions and with an optional hook to enforce the rules

MIT
optional-dev-dependency

try to install an optional development dependency, YOLO if you can't.

ISC
fill-range

Fill in a range of numbers or letters, optionally passing an increment or `step` to use, or create a regex-compatible range with `options.toRegex`

MIT
babel-plugin-syntax-optional-catch-binding

Allow parsing of optional catch bindings

MIT
grunt-release-it

Interactive release task for Git repositories. Optionally release a build to distribution/component repository.

object.omit

Return a copy of an object excluding the given key, or array of keys. Also accepts an optional filter function as the last argument.

MIT