Ayc0 / mock-match-mediaLinks
Mock window.matchMedia for Node.JS environments (like tests or NextJS)
β21Updated last week
Alternatives and similar repositories for mock-match-media
Users that are interested in mock-match-media are comparing it to the libraries listed below
Sorting:
- A set of tools for emulating browser behavior in jsdom environmentβ123Updated last week
- πΊπ§ͺ Jest hooks for JSDOM location mockβ60Updated last month
- CSS pseudo-classes for Storybookβ100Updated 3 months ago
- ESLint Plugin to Validate JSX Nestingsβ64Updated 2 years ago
- ESLint plugin to check if keys should be sorted in an object pattern.β97Updated last year
- PostCSS plugin to generate TypeScript types from your CSS class names.β72Updated 4 years ago
- TailwindCss plugin to export Typescript typings, helpers and const from your config.β57Updated 5 years ago
- A single configuration for path aliases to reuse across all your tools (TypeScript, Jest, webpack, Rollup, etc.).β92Updated 3 years ago
- π£Cast aria-hidden to everything, except...β53Updated 3 months ago
- Custom Vitest matchers to test the state of the DOM, forked from jest-dom.β68Updated last year
- ESlint's rules for styled components πβ67Updated 2 years ago
- Responsive, theme-based style props for building design systems with React. Written in TypeScript.β79Updated 2 years ago
- A stylelint rule to catch usage of unknown custom propertiesβ72Updated 8 months ago
- Community-owned global registry and documentation hub for codemods. Write & run codemods, share them with your friends!β142Updated 2 weeks ago
- π€·ββοΈ Declarative render prop based Conditionsβ72Updated 4 years ago
- Deprecated plugin to add `id`s to headings β please use `rehype-slug`β89Updated 10 months ago
- β132Updated 8 months ago
- π Mock for fully testing any media queries with Jestβ42Updated 2 years ago
- β37Updated 5 years ago
- translate and localize your Next.js app smoothlyβ26Updated 3 years ago
- ESLint rule that disallows barrel filesβ44Updated 3 weeks ago
- A wrapper around React.forwardRef() that allows HTML attributes and prop types to be derived from the "as" prop.β23Updated 2 years ago
- Vocab is a strongly typed internationalization framework for Reactβ130Updated this week
- Merges className, style, and event handler props for React elementsβ100Updated 2 years ago
- Debounce a functionβ127Updated 11 months ago
- A state machine hook for React applications.β110Updated last year
- Better classnames utility for vanilla-extractβ36Updated 4 years ago
- A library that makes generating and validating Browserslists a breeze!β94Updated 11 months ago
- π¦ Cli for the node BundlePhobia Service π±β187Updated last year
- ESLint plugin to detect inappropriate use of DOM globals propertiesβ53Updated 2 months ago