Installations
npm install sapper
Developer Guide
Typescript
No
Module System
N/A
Node Version
14.16.0
NPM Version
6.14.11
Score
84.3
Supply Chain
94
Quality
77.3
Maintenance
50
Vulnerability
100
License
Releases
Unable to fetch releases
Contributors
Unable to fetch Contributors
Languages
TypeScript (56.24%)
JavaScript (31.99%)
Svelte (7.58%)
HTML (3.22%)
CSS (0.86%)
Shell (0.1%)
Developer
Download Statistics
Total Downloads
8,142,373
Last Day
5,410
Last Week
32,005
Last Month
153,249
Last Year
1,925,154
GitHub Statistics
6,982 Stars
1,499 Commits
432 Forks
100 Watching
15 Branches
133 Contributors
Bundle Size
297.00 B
Minified
235.00 B
Minified + Gzipped
Package Meta Information
Latest Version
0.29.3
Package Id
sapper@0.29.3
Unpacked Size
523.53 kB
Size
132.69 kB
File Count
38
NPM Version
6.14.11
Node Version
14.16.0
Total Downloads
Cumulative downloads
Total Downloads
8,142,373
Last day
0.1%
5,410
Compared to previous day
Last week
-14.1%
32,005
Compared to previous week
Last month
-5.6%
153,249
Compared to previous month
Last year
-3.6%
1,925,154
Compared to previous year
Daily Downloads
Weekly Downloads
Monthly Downloads
Yearly Downloads
Peer Dependencies
1
Dev Dependencies
46
sapper
The next small thing in web development, powered by Svelte.
What is Sapper?
Sapper is a framework for building high-performance universal web apps. Read the guide or the introductory blog post to learn more.
SvelteKit
Sapper's successor, SvelteKit, is currently available for use. Please see the FAQ for more details.
Get started
Clone the starter project template with degit... When cloning you have to choose between rollup or webpack:
1npx degit "sveltejs/sapper-template#rollup" my-app 2# or: npx degit "sveltejs/sapper-template#webpack" my-app
...then install dependencies and start the dev server...
1cd my-app 2npm install 3npm run dev
...and navigate to localhost:3000. To build and run in production mode:
1npm run build 2npm start
Development
Pull requests are encouraged and always welcome. Pick an issue and help us out!
To install and work on Sapper locally:
1git clone https://github.com/sveltejs/sapper.git 2cd sapper 3npm install 4npm 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 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:
1cd sapper 2npm link
Then, to link from sapper-template
(or any other given project):
1cd sapper-template 2npm link sapper
You should be good to test changes locally.
Running Tests
1npm run test
License
Stable Version
Stable Version
0.29.3
CRITICAL
1
0/10
Summary
Path Traversal in sapper
Affected Versions
< 0.27.11
Patched Versions
0.27.11
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
license file detected
Details
- Info: project has a license file: LICENSE:0
- Info: FSF or OSI recognized license: MIT License: LICENSE:0
Reason
Found 6/11 approved changesets -- score normalized to 5
Reason
detected GitHub workflow tokens with excessive permissions
Details
- Warn: no topLevel permission defined: .github/workflows/ci.yml:1
- Info: no jobLevel write permissions found
Reason
project is archived
Details
- Warn: Repository is archived.
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
- Warn: no security policy file detected
- Warn: no security file to analyze
- Warn: no security file to analyze
- Warn: no security file to analyze
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:13: update your workflow using https://app.stepsecurity.io/secureworkflow/sveltejs/sapper/ci.yml/master?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/sveltejs/sapper/ci.yml/master?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:25: update your workflow using https://app.stepsecurity.io/secureworkflow/sveltejs/sapper/ci.yml/master?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:26: update your workflow using https://app.stepsecurity.io/secureworkflow/sveltejs/sapper/ci.yml/master?enable=pin
- Warn: npmCommand not pinned by hash: .github/workflows/ci.yml:19
- Warn: npmCommand not pinned by hash: .github/workflows/ci.yml:30
- Info: 0 out of 4 GitHub-owned GitHubAction dependencies pinned
- Info: 0 out of 2 npmCommand dependencies pinned
Reason
project is not fuzzed
Details
- Warn: no fuzzer integrations found
Reason
branch protection not enabled on development/release branches
Details
- Warn: branch protection not enabled for branch 'master'
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
- Warn: 0 commits out of 25 are checked with a SAST tool
Reason
34 existing vulnerabilities detected
Details
- Warn: Project is vulnerable to: GHSA-93q8-gq69-wqmw
- Warn: Project is vulnerable to: GHSA-grv7-fg5c-xmjg
- Warn: Project is vulnerable to: GHSA-x9w5-v3q2-3rhw
- Warn: Project is vulnerable to: GHSA-pxg6-pf52-xh8x
- Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275
- Warn: Project is vulnerable to: GHSA-gxpj-cx7g-858c
- Warn: Project is vulnerable to: GHSA-w573-4hg7-7wgq
- Warn: Project is vulnerable to: GHSA-434g-2637-qmqr
- Warn: Project is vulnerable to: GHSA-49q7-c7j4-3p7m
- Warn: Project is vulnerable to: GHSA-977x-g7h5-7qgw
- Warn: Project is vulnerable to: GHSA-f7q4-pwc6-w24p
- Warn: Project is vulnerable to: GHSA-fc9h-whq2-v747
- Warn: Project is vulnerable to: GHSA-2j2x-2gpw-g8fm
- Warn: Project is vulnerable to: GHSA-ww39-953v-wcq6
- Warn: Project is vulnerable to: GHSA-pfq8-rq6v-vf5m
- Warn: Project is vulnerable to: GHSA-9c47-m6qq-7p4h
- Warn: Project is vulnerable to: GHSA-76p3-8jx3-jpfq
- Warn: Project is vulnerable to: GHSA-3rfm-jhwj-7488
- Warn: Project is vulnerable to: GHSA-hhq3-ff78-jv3g
- Warn: Project is vulnerable to: GHSA-952p-6rrq-rcjv
- Warn: Project is vulnerable to: GHSA-f8q6-p94x-37v3
- Warn: Project is vulnerable to: GHSA-r683-j2x4-v87g
- Warn: Project is vulnerable to: GHSA-hj48-42vr-x3v9
- Warn: Project is vulnerable to: GHSA-gcx4-mw62-g8wm
- Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw
- Warn: Project is vulnerable to: GHSA-g4rg-993r-mgx7
- Warn: Project is vulnerable to: GHSA-wv8q-r932-8hc7
- Warn: Project is vulnerable to: GHSA-8266-84wp-wv5c
- Warn: Project is vulnerable to: GHSA-4wf5-vphf-c2xc
- Warn: Project is vulnerable to: GHSA-j8xg-fqg3-53r7
- Warn: Project is vulnerable to: GHSA-3h5v-q93c-6h6q
- Warn: Project is vulnerable to: GHSA-67hx-6x53-jw92
- Warn: Project is vulnerable to: GHSA-5v2h-r2cx-5xgj
- Warn: Project is vulnerable to: GHSA-rrrm-qjm4-v8hf
Score
3
/10
Last Scanned on 2025-01-27
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn MoreOther packages similar to sapper
@edgio/sapper
Deploy Sapper apps on the [Edgio](https://edgio.co), infrastructure to run your big, dynamic website frontend and make it load in less than one second.
@layer0/sapper
Deploy Sapper apps on the [Layer0](https://layer0.co), infrastructure to run your big, dynamic website frontend and make it load in less than one second.
@ctx-core/sapper
ctx-core sapper utils
@xdn/sapper
Deploy Sapper apps on the [Moovweb XDN](https://www.moovweb.com), infrastructure to run your big, dynamic website frontend and make it load in less than one second.