
Security News
ESLint Adds Official Support for Linting HTML
ESLint now supports HTML linting with 48 new rules, expanding its language plugin system to cover more of the modern web development stack.
@types/chai-match-pattern
Advanced tools
TypeScript definitions for chai-match-pattern
npm install --save @types/chai-match-pattern
This package contains type definitions for chai-match-pattern (https://github.com/mjhm/chai-match-pattern#readme).
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/chai-match-pattern.
/// <reference types="chai" />
import * as matchPattern from "lodash-match-pattern";
declare global {
namespace Chai {
interface Assertion {
matchPattern(pattern: string | object): Assertion;
}
}
}
declare const chaiMatchPattern: Chai.ChaiPlugin & {
getLodashModule: typeof matchPattern.getLodashModule;
use(lodashModule: typeof matchPattern): void;
};
export = chaiMatchPattern;
These definitions were written by Daniel Kneip.
FAQs
TypeScript definitions for chai-match-pattern
We found that @types/chai-match-pattern demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
ESLint now supports HTML linting with 48 new rules, expanding its language plugin system to cover more of the modern web development stack.
Security News
CISA is discontinuing official RSS support for KEV and cybersecurity alerts, shifting updates to email and social media, disrupting automation workflows.
Security News
The MCP community is launching an official registry to standardize AI tool discovery and let agents dynamically find and install MCP servers.