npm 包搜索

搜索 npm 上的 JavaScript 依赖包

搜索 "matches" 的结果(共 34 个)
is-builtin-module

Check if a string matches the name of a Node.js builtin module

MIT
route-recognizer

A lightweight JavaScript library that matches paths against registered routes.

MIT
postcss-selector-matches

PostCSS plugin to transform :matches() W3C CSS pseudo class to more compatible CSS selectors

MIT
didyoumean2

a library for matching human-quality input to a list of potential matches using the Levenshtein distance algorithm

MIT
eslint-config-fbjs

For the most part, this configuration matches the ESLint configuration we have internally at Facebook.

MIT
hast-util-select

hast utility for `querySelector`, `querySelectorAll`, and `matches`

MIT
matches-selector

Check if a DOM element matches a given selector, with decent browser support and unit tests.

MIT
string-matches

Retrieves all the matches of a regex in a string.

MIT
node-version-matches

Returns true if the current node version matches the given semver expression

MIT
prefix-matches

Find matching keys in a given object, for a given prefix string

MIT
ignorepatterns

A regular expression that matches common filenames that we want to ignore

Artistic-2.0
loader-cache

Register loader functions that dynamically read, parse or otherwise transform file contents when the name of the loader matches a file extension. You can also compose loaders from other loaders.

MIT
closest

Find the closest parent that matches a selector.

component-matches-selector

Check if an element matches a given selector

MIT
test-match

Test string matches with cwd, include, exclude

MIT
xml-name-validator

Validates whether a string matches the production for an XML name or qualified name

Apache-2.0
snapshot-assertion

Asserts a string matches a snapshot saved in a file. An environment variable can be used to save rather than assert snapshots.

MIT
twitch-video-element

A custom element for the Twitch player with an API that matches the `<video>` API

MIT
wistia-video-element

A custom element for the Wistia player with an API that matches the `<video>` API

MIT
vimeo-video-element

A custom element for the Vimeo player with an API that matches the `<video>` API

MIT
cloudflare-video-element

A custom element for the Cloudflare player with an API that matches the `<video>` API

MIT
ember-cli-eslint

Ember-cli eslint support, for checking your application matches your coding standards.

MIT
is-zod

Typeguard to check if a value matches a zod schema

MIT
is-hotkey

Check whether a browser event matches a hotkey.

MIT
dom-closest

For a given DOM element, find the first ancestor that matches a given CSS selector.

MIT
is-potential-custom-element-name

Check whether a given string matches the `PotentialCustomElementName` production as defined in the HTML Standard.

MIT
css-mediaquery

Parses and determines if a given CSS Media Query matches a set of values.