Skip to content

Latest commit

 

History

History
33 lines (23 loc) · 713 Bytes

README.md

File metadata and controls

33 lines (23 loc) · 713 Bytes

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.