sv - the Svelte CLI
A CLI for creating new SvelteKit projects and adding functionality to existing ones. Just run...
npx sv
...and follow the prompts.
API
You can also use sv
programmatically:
import { create } from 'sv';
await create('my-new-app', {
name: 'my-new-app',
template: 'default'
});
checkjs
means your project will use TypeScript to typecheck JavaScript via JSDoc comments.
Acknowledgements
Thank you to Christopher Brown who originally owned the sv
name on npm for graciously allowing it to be used for this package. You can find the original sv
package at @chbrown/sv
.
This project was formed by merging the create-svelte
and svelte-add
CLIs. Thank you to J for starting the community-led svelte-add
project and to the svelte-add
contributors.
License
MIT.