# sapper

> The next small thing in web development, powered by Svelte

Latest version **0.29.3** (published 2021-09-30) · MIT license · 30.2K weekly downloads

> **Deprecated.** This package is deprecated.

## Install

```sh
npm install sapper
pnpm add sapper
yarn add sapper
bun add sapper
```

Provides the command `sapper`.

## Health

**Score 10/100 (F)** — status: deprecated.

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 0.29.3 |
| Published | 2021-09-30 |
| First published | 2017-12-11 |
| Weekly downloads | 30.2K |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 6 |
| Unpacked size | 523.5 KB |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 6916 |
| Author | Rich Harris |
| Maintainers | rich_harris, conduitry |
| Keywords | svelte, isomorphic, universal, template, express |

## Links

- npm: https://www.npmjs.com/package/sapper
- Repository: https://github.com/sveltejs/sapper
- Homepage: https://github.com/sveltejs/sapper#readme
- Issues: https://github.com/sveltejs/sapper/issues
- npm.io page: https://npm.io/package/sapper

## Dependencies (6)

- [shimport](https://npm.io/package/shimport.md) ^2.0.5
- [source-map](https://npm.io/package/source-map.md) ^0.6.1
- [string-hash](https://npm.io/package/string-hash.md) ^1.1.3
- [html-minifier](https://npm.io/package/html-minifier.md) ^4.0.0
- [sourcemap-codec](https://npm.io/package/sourcemap-codec.md) ^1.4.6
- [http-link-header](https://npm.io/package/http-link-header.md) ^1.0.2

## Recent versions

- 0.29.3 (latest) — 2021-09-30
- 0.26.0-alpha.12 (alpha) — 2019-03-08
- 0.29.2 — 2021-07-21
- 0.29.1 — 2021-02-03
- 0.29.0 — 2021-01-22
- 0.28.10 — 2020-10-02
- 0.28.9 — 2020-09-25
- 0.28.8 — 2020-09-20
- 0.28.7 — 2020-09-15
- 0.28.6 — 2020-09-09
- 0.28.5 — 2020-09-06
- 0.28.4 — 2020-09-03
- 0.28.3 — 2020-08-30
- 0.28.2 — 2020-08-26
- 0.28.1 — 2020-08-25
- … 177 more at https://npm.io/package/sapper/versions

## README

# sapper

[The next small thing in web development, powered by Svelte.](https://sapper.svelte.dev)


## What is Sapper?

Sapper is a framework for building high-performance universal web apps. [Read the guide](https://sapper.svelte.dev/docs) or the [introductory blog post](https://svelte.dev/blog/sapper-towards-the-ideal-web-app-framework) to learn more.


## SvelteKit

Sapper's successor, [SvelteKit](https://kit.svelte.dev/), is currently available for use. Please see [the FAQ](https://sapper.svelte.dev/faq#version-numbers) for more details.


## Get started

Clone the [starter project template](https://github.com/sveltejs/sapper-template) with [degit](https://github.com/rich-harris/degit)...
When cloning you have to choose between rollup or webpack:

```bash
npx degit "sveltejs/sapper-template#rollup" my-app
# or: npx degit "sveltejs/sapper-template#webpack" my-app
```

...then install dependencies and start the dev server...

```bash
cd my-app
npm install
npm run dev
```

...and navigate to [localhost:3000](http://localhost:3000). To build and run in production mode:

```bash
npm run build
npm start
```

## Development

Pull requests are encouraged and always welcome. [Pick an issue](https://github.com/sveltejs/sapper/issues?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc) and help us out!

To install and work on Sapper locally:

```bash
git clone https://github.com/sveltejs/sapper.git
cd sapper
npm install
npm run dev
```

### Linking to a Live Project

You can make changes locally to Sapper and test it against a local Sapper project. For a quick project that takes almost no setup, use the default [sapper-template](https://github.com/sveltejs/sapper-template) project. Instruction on setup are found in that project repository.

To link Sapper to your project, from the root of your local Sapper git checkout:

```bash
cd sapper
npm link
```

Then, to link from `sapper-template` (or any other given project):

```bash
cd sapper-template
npm link sapper
```

You should be good to test changes locally.

### Running Tests

```bash
npm run test
```

## License

[MIT](LICENSE)

---
_Source: https://npm.io/package/sapper · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
