Socket
Book a DemoInstallSign in
Socket

@deno/svelte-adapter

Package Overview
Dependencies
Maintainers
5
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@deno/svelte-adapter

Official Deno adapter for SvelteKit

latest
Source
npmnpm
Version
0.1.0
Version published
Maintainers
5
Created
Source

Deno SvelteKit adapter

Official Deno adapter for SvelteKit.

Usage

  • Install the adapter:
deno install -D npm:@deno/svelte-adapter
# or
npm install -D @deno/svelte-adapter
# or
pnpm install -D @deno/svelte-adapter
  • Update your svelte.config.js file to use the adapter:
- import adapter from '@sveltejs/adapter-auto';
+ import adapter from "@deno/svelte-adapter";
  import { vitePreprocess } from "@sveltejs/vite-plugin-svelte";

  /** @type {import('@sveltejs/kit').Config} */
  const config = {
    preprocess: vitePreprocess(),
    kit: {
      adapter: adapter(),
    }
  };

  export default config;

License

MIT, see the LICENSE file.

Keywords

Deno

FAQs

Package last updated on 19 May 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts