Gathering detailed insights and metrics for @kiho/svelte-ts-preprocess
Gathering detailed insights and metrics for @kiho/svelte-ts-preprocess
Gathering detailed insights and metrics for @kiho/svelte-ts-preprocess
Gathering detailed insights and metrics for @kiho/svelte-ts-preprocess
npm install @kiho/svelte-ts-preprocess
Typescript
Module System
Min. Node Version
Node Version
NPM Version
TypeScript (73.74%)
JavaScript (12.8%)
CSS (6.73%)
HTML (6.73%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
97 Stars
79 Commits
21 Forks
2 Watchers
44 Branches
4 Contributors
Updated on Feb 19, 2024
Latest Version
1.1.2
Package Id
@kiho/svelte-ts-preprocess@1.1.2
Unpacked Size
19.02 kB
Size
6.25 kB
File Count
6
NPM Version
4.6.1
Node Version
10.15.3
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
1
27
1npm i @kiho/svelte-ts-preprocess
1import svelte from "rollup-plugin-svelte"; 2import resolve from "rollup-plugin-node-resolve"; 3import commonjs from "rollup-plugin-commonjs"; 4import { terser } from "rollup-plugin-terser"; 5 6import { preprocess } from "@kiho/svelte-ts-preprocess"; 7 8const production = !process.env.ROLLUP_WATCH; 9 10export default { 11 input: "src/main.js", 12 output: { 13 sourcemap: true, 14 format: "iife", 15 name: "app", 16 file: "public/bundle.js" 17 }, 18 plugins: [ 19 svelte({ 20 // enable run-time checks when not in production 21 dev: !production, 22 // we'll extract any component CSS out into 23 // a separate file — better for performance 24 css: css => { 25 css.write("public/bundle.css"); 26 }, 27 preprocess: preprocess() 28 }), 29 30 // If you have external dependencies installed from 31 // npm, you'll most likely need these plugins. In 32 // some cases you'll need additional configuration — 33 // consult the documentation for details: 34 // https://github.com/rollup/rollup-plugin-commonjs 35 resolve(), 36 commonjs(), 37 38 // If we're building for production (npm run build 39 // instead of npm run dev), minify 40 production && terser() 41 ] 42};
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
Found 8/14 approved changesets -- score normalized to 5
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
license file not detected
Details
Reason
project is not fuzzed
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
109 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-07-07
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 More