create-svelte
TypeScript icon, indicating that this package has built-in type declarations

6.3.2 • Public • Published

create-svelte

A CLI for creating new SvelteKit projects. Just run...

npm create svelte@latest

...and follow the prompts.

API

You can also use create-svelte programmatically:

import { create } from 'create-svelte';

await create('my-new-app', {
  name: 'my-new-app',
  template: 'default', // or 'skeleton' or 'skeletonlib'
  types: 'checkjs', // or 'typescript' or null;
  prettier: false,
  eslint: false,
  playwright: false,
  vitest: false
});

checkjs means your project will use TypeScript to typecheck JavaScript via JSDoc comments.

License

MIT.

Package Sidebar

Install

npm i create-svelte

Weekly Downloads

21,589

Version

6.3.2

License

MIT

Unpacked Size

1.08 MB

Total Files

42

Last publish

Collaborators

  • rich_harris
  • svelte-admin