Gathering detailed insights and metrics for svelte-preprocess-less
Gathering detailed insights and metrics for svelte-preprocess-less
Gathering detailed insights and metrics for svelte-preprocess-less
Gathering detailed insights and metrics for svelte-preprocess-less
svelte-preprocess
A Svelte preprocessor wrapper with baked-in support for commonly used preprocessors
@w5/svelte-preprocess
A Svelte preprocessor wrapper with baked-in support for commonly used preprocessors
@3-/svelte-preprocess
A Svelte preprocessor wrapper with baked-in support for commonly used preprocessors
@iuser/svelte-preprocess
A Svelte preprocessor wrapper with baked-in support for commonly used preprocessors
npm install svelte-preprocess-less
Typescript
Module System
Node Version
NPM Version
JavaScript (100%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
13 Stars
188 Commits
1 Forks
1 Watchers
21 Branches
3 Contributors
Updated on Jun 29, 2022
Latest Version
0.4.0
Package Id
svelte-preprocess-less@0.4.0
Unpacked Size
19.85 kB
Size
5.03 kB
File Count
11
NPM Version
6.4.1
Node Version
8.16.0
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
Svelte preprocessor for less
1npm install --save-dev svelte-preprocess-less less
Using rollup-plugin-svelte
1// rollup.config.js 2import svelte from 'rollup-plugin-svelte'; 3import { less } from 'svelte-preprocess-less'; 4... 5 6export default { 7 ... 8 plugins: [ 9 ... 10 svelte({ 11 preprocess: { 12 style: less(), 13 }, 14 }), 15 ], 16};
Now all <style>
elements in your components that have a type="text/less"
or lang="less"
attribute will be preprocessed by less.
The less
function passes the first argument to the less compiler, e.g.:
1... 2less({ 3 plugins: [ 4 ... 5 ] 6})
The less
function passes the second argument to svelte-preprocess-filter, e.g.:
1... 2less( 3 {} // Empty less options 4 { all: true } // Preprocess all styles 5)
For available options visit the less documentation.
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
Found 0/30 approved changesets -- score normalized to 0
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
project is not fuzzed
Details
Reason
license file not detected
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
63 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