Gathering detailed insights and metrics for @devappd/svelte-resize-observer
Gathering detailed insights and metrics for @devappd/svelte-resize-observer
Gathering detailed insights and metrics for @devappd/svelte-resize-observer
Gathering detailed insights and metrics for @devappd/svelte-resize-observer
npm install @devappd/svelte-resize-observer
Typescript
Module System
Node Version
NPM Version
73
Supply Chain
88.1
Quality
75.2
Maintenance
100
Vulnerability
100
License
Svelte (38.33%)
JavaScript (31.69%)
HTML (21.28%)
CSS (7.49%)
TypeScript (1.21%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
14 Stars
69 Commits
2 Forks
1 Watchers
3 Branches
1 Contributors
Updated on Sep 12, 2024
Latest Version
1.1.0
Package Id
@devappd/svelte-resize-observer@1.1.0
Unpacked Size
38.61 kB
Size
9.92 kB
File Count
7
NPM Version
6.14.5
Node Version
14.5.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
Element resize observer to Svelte
npm i svelte-resize-observer
// OR
yarn add svelte-resize-observer
Note: to use this library in sapper, install as devDependency. See the link.
Local demo:
git clone https://github.com/andrelmlins/svelte-resize-observer.git
cd svelte-resize-observer
npm install && npm run dev
An example of how to use the library:
1<script> 2 import ResizeObserver from "svelte-resize-observer"; 3</script> 4 5<style> 6 div { 7 width: 400px; 8 height: 400px; 9 } 10</style> 11 12<div> 13 <ResizeObserver on:resize={(e) => console.log(e.detail.target)} /> 14</div>
Component props:
Prop | Type | Description |
---|---|---|
elementResize | node | Element to bind resize |
resize | func | Call with resize |
Download stats for this NPM package
Svelte Resize Observer is open source software licensed as MIT.
No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
Found 0/5 approved changesets -- score normalized to 0
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
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
branch protection not enabled on development/release branches
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
15 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