Anyone have complete documentation on creating an npm package with SvelteKit?

This page summarizes the projects mentioned and recommended in the original post on /r/sveltejs

CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
coderabbit.ai
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • component-template

    A base for building shareable Svelte components

  • CodeRabbit

    CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.

    CodeRabbit logo
  • sveltekit-package-template

    A barebones project that provides the essentials for writing highly-optimized, reusable packages in Svelte.

    SvelteKit packaging docs has some useful information. I also made this package template for use in some of my projects, but it also has some very useful documentation in the readme if you're looking for a place to start - https://github.com/tropix126/sveltekit-package-template

  • svelte-headlessui

    Unofficial Svelte port of the Headless UI component library

    I followed the SvelteKit packaging guides for svelte-headlessui and it was pretty easy. It transcribes your TS to JS automatically (if you're using TS) and generates TypeScript declaration files automatically. Publishing on npm is super easy after that.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Passing event handlers in $$restProps? (ex. creating a wrapped <Input /> component)

    2 projects | /r/sveltejs | 12 Jan 2023
  • Update Svelte component style using on:mousemove directive

    2 projects | /r/sveltejs | 12 Mar 2022
  • Should you compile components before publishing them?

    3 projects | /r/sveltejs | 13 Jan 2022
  • 10 game-changing tools that level up Svelte developers in 2025 💪

    14 projects | dev.to | 20 Oct 2024
  • The Hunt for the Perfect Svelte Charting Library: A Happy Ending!

    2 projects | dev.to | 10 Sep 2024

Did you konow that Svelte is
the 24th most popular programming language
based on number of metions?