JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 19
  • Score
    100M100P100Q50454F
  • License MIT

Framework adapters for Coherent.js (Astro, Remix, SvelteKit)

Package Exports

  • @coherent.js/adapters
  • @coherent.js/adapters/astro
  • @coherent.js/adapters/remix
  • @coherent.js/adapters/sveltekit

Readme

@coherent.js/adapters

Framework adapters for Coherent.js, providing seamless integration with popular web frameworks.

Supported Frameworks

  • Astro - Full SSR integration
  • Remix - Loader and component adapters
  • SvelteKit - Adapter and preprocessor

Installation

npm install @coherent.js/adapters

Exports

Framework adapters

Modular Imports (Tree-Shakable)

  • Adapter utilities: @coherent.js/adapters

Example Usage

import { createAdapter } from '@coherent.js/adapters';

Note: All exports are tree-shakable. Import only what you need for optimal bundle size.

Usage

Astro Integration

import { createAstroIntegration } from '@coherent.js/adapters/astro';

export default {
  integrations: [
    createAstroIntegration()
  ]
};

Remix Adapter

import { createRemixAdapter } from '@coherent.js/adapters/remix';

const adapter = createRemixAdapter();

SvelteKit Adapter

import { createSvelteKitAdapter } from '@coherent.js/adapters/sveltekit';

export default {
  kit: {
    adapter: createSvelteKitAdapter()
  }
};