Gathering detailed insights and metrics for react-split-viewport
Gathering detailed insights and metrics for react-split-viewport
Gathering detailed insights and metrics for react-split-viewport
Gathering detailed insights and metrics for react-split-viewport
npm install react-split-viewport
Typescript
Module System
Min. Node Version
Node Version
NPM Version
53.9
Supply Chain
71.1
Quality
74.2
Maintenance
100
Vulnerability
99.6
License
JavaScript (88.8%)
HTML (6.26%)
CSS (4.95%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
2 Stars
16 Commits
1 Watchers
1 Branches
1 Contributors
Updated on Apr 27, 2022
Latest Version
0.0.3
Package Id
react-split-viewport@0.0.3
Unpacked Size
53.70 kB
Size
9.11 kB
File Count
6
NPM Version
6.14.9
Node Version
12.18.2
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
2
1
19
It splits view in half
1npm install --save react-split-viewport
1import React from 'react'; 2import { SplitView } from 'react-split-viewport'; 3 4const App = () => ( 5 <SplitView 6 initWidth={45} 7 range={{ 8 min: 25, 9 max: 75 10 }} 11 left=<div>Left</div> 12 right=<div>Right</div> 13 /> 14); 15 16export default App;
Name | Description | Default | Value |
---|---|---|---|
initWidth | Initial width of the right side.(Initial left side will be calculated with respect to this value) | 50 | number |
left | Content for left side | Left | element |
right | Content for right side | Right | element |
range | Minimum and maximum adjustment levels | { min: 25, max: 75 } | { min: number, max: number } |
onResize | Resize callback | null | func |
resizeProps | Style property for resize bar | { bgColor: '#322f3d', width: 10, height: { val: 100, unit: '%' } } | { bgColor: string, width: number, height: { val: number, unit: string } } |
resizeHandlerProps | Style property for resize handler | { markup: | { markup: element, position: { x: number, y: number, unit: string } } |
showSwitcher | Switcher visibility | true | bool |
onSwitchClick | Switch click callback | null | func |
switcherProps | Style property for switch button | { markup: | { markup: element, position: { x: number, y: number, unit: string } } |
MIT © mertNalcaci
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
Found 0/16 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 SAST tool detected
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
license file not detected
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
100 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