Ayc0 / mock-match-media
Mock window.matchMedia for Node.JS environments (like tests or NextJS)
โ22Updated last year
Alternatives and similar repositories for mock-match-media:
Users that are interested in mock-match-media are comparing it to the libraries listed below
- TailwindCss plugin to export Typescript typings, helpers and const from your config.โ57Updated 4 years ago
- ๐ฃCast aria-hidden to everything, except...โ52Updated last month
- A single configuration for path aliases to reuse across all your tools (TypeScript, Jest, webpack, Rollup, etc.).โ91Updated 3 years ago
- ๐บ๐งช Jest hooks for JSDOM location mockโ60Updated 9 months ago
- ESLint Plugin to Validate JSX Nestingsโ63Updated last year
- โ37Updated 4 years ago
- A monorepo use yarn + lerna + changesets + GitHub Actions.โ35Updated last year
- CSS pseudo-classes for Storybookโ96Updated 4 months ago
- PostCSS plugin to generate TypeScript types from your CSS class names.โ73Updated 4 years ago
- ESLint plugin to check if keys should be sorted in an object pattern.โ96Updated 8 months ago
- Collection of codemods for TypeScript and JavaScript codebasesโ45Updated 2 years ago
- โ30Updated 9 months ago
- React Hooks implementation of a roving tabindex, now with grid support.โ53Updated 2 years ago
- Babel plugin to optimize the use of clsx, classnames, and other libraries with a compatible APIโ111Updated last year
- Auto-fix plain Functions into Arrow Functions, in all cases where conversion would result in the same behaviourโ59Updated 2 months ago
- A helper function for reducing React Context boilerplateโ25Updated last year
- Responsive, theme-based style props for building design systems with React. Written in TypeScript.โ79Updated last year
- A set of tools for emulating browser behavior in jsdom environmentโ117Updated 7 months ago
- A stylelint rule to catch usage of unknown custom propertiesโ65Updated 2 months ago
- Babel plugin to add displayName to your styled componentโ16Updated last year
- Measure the real, minified, tree-shaken impact of individual imports into your appโ131Updated 2 years ago
- Run different npm scripts in a CI environmentโ49Updated 4 years ago
- Controls relationships between folders and packages ๐ฉโ๐ป๐ค๐ฎ๐ปโโ๏ธโ35Updated 2 years ago
- React components for displaying configurable context menusโ95Updated last month
- ESlint's rules for styled components ๐โ65Updated 2 years ago
- Test data factory written in TypeScriptโ29Updated 3 years ago
- ESLint rule that disallows barrel filesโ35Updated last month
- A wrapper around React.forwardRef() that allows HTML attributes and prop types to be derived from the "as" prop.โ23Updated 2 years ago
- PostCSS syntax for CSS-in-JS like styled-componentsโ77Updated 2 months ago
- Type-safe implementation of invariant with positionals.โ52Updated 8 months ago