Socket
Socket
Sign inDemoInstall

create-svelte

Package Overview
Dependencies
2
Maintainers
2
Versions
263
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    create-svelte

A CLI for creating new SvelteKit projects


Version published
Weekly downloads
23K
decreased by-28.13%
Maintainers
2
Install size
1.37 MB
Created
Weekly downloads
 

Readme

Source

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.

FAQs

Last updated on 22 Apr 2024

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc