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

Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • component-template

    A base for building shareable Svelte components

  • 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

  • SurveyJS

    Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.

    SurveyJS logo
  • 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