Ayc0 / mock-match-media
Mock window.matchMedia for Node.JS environments (like tests or NextJS)
☆21Updated 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
- A single configuration for path aliases to reuse across all your tools (TypeScript, Jest, webpack, Rollup, etc.).☆91Updated 3 years ago
- A set of tools for emulating browser behavior in jsdom environment☆117Updated 7 months ago
- Simple and complete Preact hooks testing utilities that encourage good testing practices.☆56Updated 3 years ago
- TailwindCss plugin to export Typescript typings, helpers and const from your config.☆57Updated 4 years ago
- ESLint plugin to detect inappropriate use of DOM globals properties☆54Updated 8 months ago
- 🗺🧪 Jest hooks for JSDOM location mock☆60Updated 8 months ago
- ☆37Updated 4 years ago
- Type-safe implementation of invariant with positionals.☆52Updated 8 months ago
- ESLint Plugin to Validate JSX Nestings☆63Updated last year
- A stylelint rule to catch usage of unknown custom properties☆65Updated 2 months ago
- PostCSS plugin to generate TypeScript types from your CSS class names.☆73Updated 4 years ago
- Controls relationships between folders and packages 👩💻🤝👮🏻♂️☆35Updated 2 years ago
- 🗣Cast aria-hidden to everything, except...☆52Updated last month
- ESlint's rules for styled components 💅☆65Updated 2 years ago
- Create a sub-traversal of an AST node in your ESLint plugin☆31Updated 2 years ago
- Test your TypeScript types easily☆43Updated last year
- 🔀 An npm package for creating complex comparators, tersely and beautifully.☆18Updated 2 years ago
- Validate routes referenced by <Link> and friends in a Remix app☆36Updated last year
- ESLint plugin to check if keys should be sorted in an object pattern.☆96Updated 7 months ago
- A helper function for reducing React Context boilerplate☆25Updated last year
- React Hooks implementation of a roving tabindex, now with grid support.☆53Updated 2 years ago
- Merges className, style, and event handler props for React elements☆100Updated last year
- A wrapper around React.forwardRef() that allows HTML attributes and prop types to be derived from the "as" prop.☆23Updated 2 years ago
- rollup-plugin-postcss wrapper with built-in TypeScript support☆18Updated 3 weeks ago
- Collection of codemods for TypeScript and JavaScript codebases☆45Updated 2 years ago
- ✨ A pretty Stylelint formatter.☆32Updated last week
- A Fetch API "Headers" polyfill and transformation library.☆34Updated 6 months ago
- ☆54Updated 4 years ago
- 🔮 Document React components and other stuff typed with TypeScript magically☆77Updated 2 years ago
- CLI to collect stats about React usage on a website☆29Updated last year