svelte
Cybernetically enhanced web apps
Last updated 9 hours ago by conduitry .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install svelte 
SYNC missed versions from official npm registry.

Cybernetically enhanced web apps: Svelte npm version license

What is Svelte?

Svelte is a new way to build web applications. It's a compiler that takes your declarative components and converts them into efficient JavaScript that surgically updates the DOM.

Learn more at the Svelte website, or stop by the Discord chatroom.

Development

Pull requests are encouraged and always welcome. Pick an issue and help us out!

To install and work on Svelte locally:

git clone https://github.com/sveltejs/svelte.git
cd svelte
npm install

Do not use Yarn to install the dependencies, as the specific package versions in package-lock.json are used to build and test Svelte.

To build the compiler, and all the other modules included in the package:

npm run build

To watch for changes and continually rebuild the package (this is useful if you're using npm link to test out changes in a project locally):

npm run dev

The compiler is written in TypeScript, but don't let that put you off — it's basically just JavaScript with type annotations. You'll pick it up in no time. If you're using an editor other than Visual Studio Code you may need to install a plugin in order to get syntax highlighting and code hints etc.

Running Tests

npm run test

To filter tests, use -g (aka --grep). For example, to only run tests involving transitions:

npm run test -- -g transition

svelte.dev

The source code for https://svelte.dev, including all the documentation, lives in the site directory. The site is built with Sapper.

Is svelte.dev down?

Probably not, but it's possible. If you can't seem to access any .dev sites, check out this SuperUser question and answer.

License

MIT

Current Tags

  • 3.24.0                                ...           latest (9 hours ago)

374 Versions

  • 3.24.0                                ...           9 hours ago
  • 3.23.2                                ...           a month ago
  • 3.23.1                                ...           a month ago
  • 3.23.0                                ...           a month ago
  • 3.22.3                                ...           2 months ago
  • 3.22.2                                ...           2 months ago
  • 3.22.1                                ...           2 months ago
  • 3.22.0                                ...           2 months ago
  • 3.21.0                                ...           2 months ago
  • 3.20.1                                ...           4 months ago
  • 3.20.0                                ...           4 months ago
  • 3.19.2                                ...           4 months ago
  • 3.19.1                                ...           4 months ago
  • 3.19.0                                ...           4 months ago
  • 3.18.2                                ...           5 months ago
  • 3.18.1                                ...           5 months ago
  • 3.18.0                                ...           5 months ago
  • 3.17.3                                ...           5 months ago
  • 3.17.2                                ...           6 months ago
  • 3.17.1                                ...           6 months ago
  • 3.17.0                                ...           6 months ago
  • 3.16.7                                ...           6 months ago
  • 3.16.6                                ...           6 months ago
  • 3.16.5                                ...           7 months ago
  • 3.16.4                                ...           7 months ago
  • 3.16.3                                ...           7 months ago
  • 3.16.2                                ...           7 months ago
  • 3.16.1                                ...           7 months ago
  • 3.16.0                                ...           7 months ago
  • 3.15.0                                ...           8 months ago
  • 3.14.1                                ...           8 months ago
  • 3.14.0                                ...           8 months ago
  • 3.13.0                                ...           8 months ago
  • 3.13.0-alpha.2                                ...           8 months ago
  • 3.13.0-alpha.1                                ...           9 months ago
  • 3.13.0-alpha.0                                ...           9 months ago
  • 3.12.1                                ...           10 months ago
  • 3.12.0                                ...           10 months ago
  • 3.11.0                                ...           10 months ago
  • 3.10.1                                ...           10 months ago
  • 3.10.0                                ...           10 months ago
  • 3.9.2                                ...           10 months ago
  • 3.9.1                                ...           a year ago
  • 3.9.0                                ...           a year ago
  • 3.8.1                                ...           a year ago
  • 3.8.0                                ...           a year ago
  • 3.7.1                                ...           a year ago
  • 3.7.0                                ...           a year ago
  • 3.6.11                                ...           a year ago
  • 3.6.10                                ...           a year ago
  • 3.6.9                                ...           a year ago
  • 3.6.8                                ...           a year ago
  • 3.6.7                                ...           a year ago
  • 3.6.6                                ...           a year ago
  • 3.6.5                                ...           a year ago
  • 3.6.4                                ...           a year ago
  • 3.6.3                                ...           a year ago
  • 3.6.2                                ...           a year ago
  • 3.6.1                                ...           a year ago
  • 3.6.0                                ...           a year ago
  • 3.5.4                                ...           a year ago
  • 3.5.3                                ...           a year ago
  • 3.5.2                                ...           a year ago
  • 3.5.1                                ...           a year ago
  • 3.5.0                                ...           a year ago
  • 3.4.4                                ...           a year ago
  • 3.4.3                                ...           a year ago
  • 3.4.2                                ...           a year ago
  • 3.4.1                                ...           a year ago
  • 3.4.0                                ...           a year ago
  • 3.3.0                                ...           a year ago
  • 3.2.2                                ...           a year ago
  • 3.2.1                                ...           a year ago
  • 3.2.0                                ...           a year ago
  • 3.1.0                                ...           a year ago
  • 3.0.1                                ...           a year ago
  • 3.0.0                                ...           a year ago
  • 3.0.0-beta.28                                ...           a year ago
  • 3.0.0-beta.27                                ...           a year ago
  • 3.0.0-beta.26                                ...           a year ago
  • 3.0.0-beta.25                                ...           a year ago
  • 3.0.0-beta.23                                ...           a year ago
  • 3.0.0-beta.22                                ...           a year ago
  • 3.0.0-beta.21                                ...           a year ago
  • 3.0.0-beta.20                                ...           a year ago
  • 3.0.0-beta.19                                ...           a year ago
  • 3.0.0-beta.18                                ...           a year ago
  • 3.0.0-beta.17                                ...           a year ago
  • 3.0.0-beta.16                                ...           a year ago
  • 3.0.0-beta.15                                ...           a year ago
  • 3.0.0-beta.14                                ...           a year ago
  • 3.0.0-beta.13                                ...           a year ago
  • 3.0.0-beta.12                                ...           a year ago
  • 3.0.0-beta.11                                ...           a year ago
  • 3.0.0-beta.10                                ...           a year ago
  • 3.0.0-beta.9                                ...           a year ago
  • 3.0.0-beta.8                                ...           a year ago
  • 3.0.0-beta.7                                ...           a year ago
  • 3.0.0-beta.6                                ...           a year ago
  • 3.0.0-beta.5                                ...           a year ago
  • 3.0.0-beta.4                                ...           a year ago
  • 2.16.1                                ...           a year ago
  • 3.0.0-beta.3                                ...           a year ago
  • 3.0.0-beta.2                                ...           a year ago
  • 3.0.0-beta.1                                ...           a year ago
  • 3.0.0-alpha27                                ...           a year ago
  • 3.0.0-alpha26                                ...           a year ago
  • 3.0.0-alpha25                                ...           a year ago
  • 3.0.0-alpha24                                ...           a year ago
  • 3.0.0-alpha23                                ...           a year ago
  • 3.0.0-alpha22                                ...           a year ago
  • 3.0.0-alpha21                                ...           a year ago
  • 3.0.0-alpha20                                ...           a year ago
  • 3.0.0-alpha19                                ...           a year ago
  • 3.0.0-alpha18                                ...           a year ago
  • 3.0.0-alpha17                                ...           a year ago
  • 3.0.0-alpha16                                ...           2 years ago
  • 3.0.0-alpha15                                ...           2 years ago
  • 3.0.0-alpha14                                ...           2 years ago
  • 3.0.0-alpha13                                ...           2 years ago
  • 3.0.0-alpha12                                ...           2 years ago
  • 3.0.0-alpha11                                ...           2 years ago
  • 3.0.0-alpha10                                ...           2 years ago
  • 3.0.0-alpha9                                ...           2 years ago
  • 3.0.0-alpha8                                ...           2 years ago
  • 3.0.0-alpha7                                ...           2 years ago
  • 3.0.0-alpha6                                ...           2 years ago
  • 3.0.0-alpha5                                ...           2 years ago
  • 3.0.0-alpha4                                ...           2 years ago
  • 3.0.0-alpha3                                ...           2 years ago
  • 2.16.0                                ...           2 years ago
  • 3.0.0-alpha2                                ...           2 years ago
  • 3.0.0-alpha1                                ...           2 years ago
  • 2.15.3                                ...           2 years ago
  • 2.15.2                                ...           2 years ago
  • 2.15.1                                ...           2 years ago
  • 2.15.0                                ...           2 years ago
  • 2.14.3                                ...           2 years ago
  • 2.14.2                                ...           2 years ago
  • 2.14.1                                ...           2 years ago
  • 2.14.0                                ...           2 years ago
  • 2.13.5                                ...           2 years ago
  • 2.13.4                                ...           2 years ago
  • 2.13.3                                ...           2 years ago
  • 2.13.2                                ...           2 years ago
  • 2.13.1                                ...           2 years ago
  • 2.13.0                                ...           2 years ago
  • 2.12.1                                ...           2 years ago
  • 2.12.0                                ...           2 years ago
  • 2.11.0                                ...           2 years ago
  • 2.10.1                                ...           2 years ago
  • 2.10.0                                ...           2 years ago
  • 2.9.11                                ...           2 years ago
  • 2.9.10                                ...           2 years ago
  • 2.9.9                                ...           2 years ago
  • 2.9.8                                ...           2 years ago
  • 2.9.7                                ...           2 years ago
  • 2.9.6                                ...           2 years ago
  • 2.9.5                                ...           2 years ago
  • 2.9.4                                ...           2 years ago
  • 2.9.3                                ...           2 years ago
  • 2.9.2                                ...           2 years ago
  • 2.9.1                                ...           2 years ago
  • 2.9.0                                ...           2 years ago
  • 2.8.1                                ...           2 years ago
  • 2.8.0                                ...           2 years ago
  • 2.7.2                                ...           2 years ago
  • 2.7.1                                ...           2 years ago
  • 2.7.0                                ...           2 years ago
  • 2.6.6                                ...           2 years ago
  • 2.6.5                                ...           2 years ago
  • 2.6.4                                ...           2 years ago
  • 2.6.3                                ...           2 years ago
  • 2.6.2                                ...           2 years ago
  • 2.6.1                                ...           2 years ago
  • 2.6.0                                ...           2 years ago
  • 2.5.1                                ...           2 years ago
  • 2.5.0                                ...           2 years ago
  • 2.4.4                                ...           2 years ago
  • 2.4.3                                ...           2 years ago
  • 2.4.2                                ...           2 years ago
  • 2.4.1                                ...           2 years ago
  • 2.4.0                                ...           2 years ago
  • 2.3.0                                ...           2 years ago
  • 2.2.0                                ...           2 years ago
  • 2.1.1                                ...           2 years ago
  • 2.1.0                                ...           2 years ago
  • 2.0.0                                ...           2 years ago
  • 1.64.1                                ...           2 years ago
  • 1.64.0                                ...           2 years ago
  • 1.63.1                                ...           2 years ago
  • 1.63.0                                ...           2 years ago
  • 1.62.0                                ...           2 years ago
  • 1.61.0                                ...           2 years ago
  • 1.60.3                                ...           2 years ago
  • 1.60.2                                ...           2 years ago
  • 1.60.1                                ...           2 years ago
  • 1.60.0                                ...           2 years ago
  • 1.59.0                                ...           2 years ago
  • 1.58.5                                ...           2 years ago
  • 1.58.4                                ...           2 years ago
  • 1.58.3                                ...           2 years ago
  • 1.58.2                                ...           2 years ago
  • 1.58.1                                ...           2 years ago
  • 1.58.0                                ...           2 years ago
  • 1.57.4                                ...           2 years ago
  • 1.57.3                                ...           2 years ago
  • 1.57.2                                ...           2 years ago
  • 1.57.1                                ...           2 years ago
  • 1.57.0                                ...           2 years ago
  • 1.56.4                                ...           2 years ago
  • 1.56.3                                ...           2 years ago
  • 1.56.2                                ...           2 years ago
  • 1.56.1                                ...           2 years ago
  • 1.56.0                                ...           2 years ago
  • 1.55.1                                ...           2 years ago
  • 1.55.0                                ...           2 years ago
  • 1.54.2                                ...           2 years ago
  • 1.54.1                                ...           2 years ago
  • 1.54.0                                ...           2 years ago
  • 1.53.0                                ...           2 years ago
  • 1.52.0                                ...           2 years ago
  • 1.51.1                                ...           2 years ago
  • 1.51.0                                ...           3 years ago
  • 1.50.1                                ...           3 years ago
  • 1.50.0                                ...           3 years ago
  • 1.49.3                                ...           3 years ago
  • 1.49.2                                ...           3 years ago
  • 1.49.1                                ...           3 years ago
  • 1.49.0                                ...           3 years ago
  • 1.48.0                                ...           3 years ago
  • 1.47.2                                ...           3 years ago
  • 1.47.1                                ...           3 years ago
  • 1.47.0                                ...           3 years ago
  • 1.46.1                                ...           3 years ago
  • 1.46.0                                ...           3 years ago
  • 1.45.0                                ...           3 years ago
  • 1.44.2                                ...           3 years ago
  • 1.44.1                                ...           3 years ago
  • 1.44.0                                ...           3 years ago
  • 1.43.1                                ...           3 years ago
  • 1.43.0                                ...           3 years ago
  • 1.42.1                                ...           3 years ago
  • 1.42.0                                ...           3 years ago
  • 1.41.4                                ...           3 years ago
  • 1.41.3                                ...           3 years ago
  • 1.41.2                                ...           3 years ago
  • 1.41.1                                ...           3 years ago
  • 1.41.0                                ...           3 years ago
  • 1.40.2                                ...           3 years ago
  • 1.40.1                                ...           3 years ago
  • 1.40.0                                ...           3 years ago
  • 1.39.4                                ...           3 years ago
  • 1.39.3                                ...           3 years ago
  • 1.39.2                                ...           3 years ago
  • 1.39.1                                ...           3 years ago
  • 1.39.0                                ...           3 years ago
  • 1.38.0                                ...           3 years ago
  • 1.37.0                                ...           3 years ago
  • 1.36.0                                ...           3 years ago
  • 1.35.0                                ...           3 years ago
  • 1.34.0                                ...           3 years ago
  • 1.33.0                                ...           3 years ago
  • 1.32.0                                ...           3 years ago
  • 1.31.0                                ...           3 years ago
  • 1.30.0                                ...           3 years ago
  • 1.29.3                                ...           3 years ago
  • 1.29.2                                ...           3 years ago
  • 1.29.1                                ...           3 years ago
  • 1.29.0                                ...           3 years ago
  • 1.28.1                                ...           3 years ago
  • 1.28.0                                ...           3 years ago
  • 1.27.0                                ...           3 years ago
  • 1.26.2                                ...           3 years ago
  • 1.26.1                                ...           3 years ago
  • 1.26.0                                ...           3 years ago
  • 1.25.1                                ...           3 years ago
  • 1.25.0                                ...           3 years ago
  • 1.24.0                                ...           3 years ago
  • 1.23.4                                ...           3 years ago
  • 1.23.3                                ...           3 years ago
  • 1.23.2                                ...           3 years ago
  • 1.23.1                                ...           3 years ago
  • 1.23.0                                ...           3 years ago
  • 1.22.5                                ...           3 years ago
  • 1.22.4                                ...           3 years ago
  • 1.22.3                                ...           3 years ago
  • 1.22.2                                ...           3 years ago
  • 1.22.1                                ...           3 years ago
  • 1.22.0                                ...           3 years ago
  • 1.21.0                                ...           3 years ago
  • 1.20.2                                ...           3 years ago
  • 1.20.1                                ...           3 years ago
  • 1.20.0                                ...           3 years ago
  • 1.19.1                                ...           3 years ago
  • 1.19.0                                ...           3 years ago
  • 1.18.2                                ...           3 years ago
  • 1.18.1                                ...           3 years ago
  • 1.18.0                                ...           3 years ago
  • 1.17.2                                ...           3 years ago
  • 1.17.1                                ...           3 years ago
  • 1.17.0                                ...           3 years ago
  • 1.16.0                                ...           3 years ago
  • 1.15.1                                ...           3 years ago
  • 1.15.0                                ...           3 years ago
  • 1.14.1                                ...           3 years ago
  • 1.14.0                                ...           3 years ago
  • 1.13.7                                ...           3 years ago
  • 1.13.6                                ...           3 years ago
  • 1.13.5                                ...           3 years ago
  • 1.13.4                                ...           3 years ago
  • 1.13.3                                ...           3 years ago
  • 1.13.2                                ...           3 years ago
  • 1.13.1                                ...           3 years ago
  • 1.13.0                                ...           3 years ago
  • 1.12.1                                ...           3 years ago
  • 1.12.0                                ...           3 years ago
  • 1.11.4                                ...           3 years ago
  • 1.11.3                                ...           3 years ago
  • 1.11.2                                ...           3 years ago
  • 1.11.1                                ...           3 years ago
  • 1.11.0                                ...           3 years ago
  • 1.10.3                                ...           3 years ago
  • 1.10.2                                ...           3 years ago
  • 1.10.1                                ...           3 years ago
  • 1.10.0                                ...           3 years ago
  • 1.9.1                                ...           3 years ago
  • 1.9.0                                ...           3 years ago
  • 1.8.1                                ...           3 years ago
  • 1.8.0                                ...           3 years ago
  • 1.7.1                                ...           3 years ago
  • 1.7.0                                ...           3 years ago
  • 1.6.11                                ...           3 years ago
  • 1.6.10                                ...           3 years ago
  • 1.6.9                                ...           3 years ago
  • 1.6.8                                ...           3 years ago
  • 1.6.7                                ...           3 years ago
  • 1.6.6                                ...           3 years ago
  • 1.6.5                                ...           3 years ago
  • 1.6.4                                ...           3 years ago
  • 1.6.3                                ...           4 years ago
  • 1.6.2                                ...           4 years ago
  • 1.6.1                                ...           4 years ago
  • 1.6.0                                ...           4 years ago
  • 1.5.0                                ...           4 years ago
  • 1.4.0                                ...           4 years ago
  • 1.3.1                                ...           4 years ago
  • 1.3.0                                ...           4 years ago
  • 1.2.5                                ...           4 years ago
  • 1.2.4                                ...           4 years ago
  • 1.2.3                                ...           4 years ago
  • 1.2.2                                ...           4 years ago
  • 1.2.1                                ...           4 years ago
  • 1.2.0                                ...           4 years ago
  • 1.1.3                                ...           4 years ago
  • 1.1.2                                ...           4 years ago
  • 1.1.1                                ...           4 years ago
  • 1.1.0                                ...           4 years ago
  • 1.0.7                                ...           4 years ago
  • 1.0.6                                ...           4 years ago
  • 1.0.5                                ...           4 years ago
  • 1.0.4                                ...           4 years ago
  • 1.0.3                                ...           4 years ago
  • 1.0.2                                ...           4 years ago
  • 1.0.1                                ...           4 years ago
  • 1.0.0                                ...           4 years ago
  • 0.3.0                                ...           4 years ago
  • 0.2.2                                ...           4 years ago
  • 0.2.1                                ...           4 years ago
  • 0.2.0                                ...           4 years ago
  • 0.1.1                                ...           4 years ago
  • 0.1.0                                ...           4 years ago
  • 0.0.2                                ...           4 years ago
  • 0.0.1                                ...           4 years ago
Downloads
Today 52
This Week 85
This Month 174
Last Day 19
Last Week 130
Last Month 1,641
Dependencies (0)
None
Dev Dependencies (36)
Dependents (312)

Copyright 2014 - 2016 © taobao.org |