mearie

Type-safe, zero-overhead GraphQL client
18,922 29
Install
npm install mearie
Latest Version:0.1.8
License:MIT
Last Updated:Aug 5, 2026
Links: GitHub  ·  npm
Maintainer: devunt

mearie

Build-time codegen and tooling for Mearie GraphQL client.

This package provides build plugins (Vite, Next.js) and code generation tools that extract GraphQL queries from your source code and generate TypeScript types at build time.

Installation

npm install -D mearie

This package provides build-time code generation and build plugins (Vite, Next.js) for automatic TypeScript type generation from GraphQL operations. For runtime functionality, install a framework-specific package like @mearie/react, @mearie/vue, @mearie/svelte, or @mearie/solid.

Usage

Add the Vite plugin to your vite.config.ts:

import { defineConfig } from 'vite';
import mearie from 'mearie/vite';

export default defineConfig({
  plugins: [mearie()],
});

Or for Next.js, add to your next.config.js:

import withMearie from 'mearie/next';

export default withMearie({
  // Your Next.js config
});

For framework-specific runtime usage, see @mearie/react, @mearie/vue, @mearie/svelte, or @mearie/solid.

Documentation

Full documentation is available at https://mearie.dev/.

Related Packages

Version History

Version Released License
0.1.8 MIT
0.1.7 MIT
0.1.6 MIT
0.1.5 MIT
0.1.4 MIT
Pre-releases (30)
Version Released License
0.0.1-next.5 MIT
0.0.1-next.4 MIT
0.0.1-next.3 MIT
0.0.1-next.1
0.0.0-next-20260723193255 MIT