A CLI for creating new SvelteKit projects. Just run...
npm create svelte@latest
...and follow the prompts.
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
});
checkjs
means your project will use TypeScript to typecheck JavaScript via JSDoc comments.
MIT.