Gathering detailed insights and metrics for leva
Gathering detailed insights and metrics for leva
Gathering detailed insights and metrics for leva
Gathering detailed insights and metrics for leva
npm install leva
leva@0.9.35
Published on 11 Jun 2023
@leva-ui/plugin-dates@0.9.32
Published on 28 Oct 2022
leva@0.9.34
Published on 28 Oct 2022
leva@0.9.33
Published on 28 Oct 2022
@leva-ui/plugin-dates@0.9.31
Published on 22 Oct 2022
leva@0.9.32
Published on 22 Oct 2022
Module System
Min. Node Version
Typescript Support
Node Version
NPM Version
5,051 Stars
828 Commits
202 Forks
30 Watching
6 Branches
59 Contributors
Updated on 29 Nov 2024
Minified
Minified + Gzipped
TypeScript (98.08%)
JavaScript (1.8%)
CSS (0.11%)
Shell (0.02%)
Cumulative downloads
Total Downloads
Last day
28.9%
18,470
Compared to previous day
Last week
5.8%
93,306
Compared to previous week
Last month
4.2%
374,956
Compared to previous month
Last year
143.3%
3,782,065
Compared to previous year
11
1
1npm i leva
Simply call the useControls
hook from anywhere in your app:
1import { useControls } from 'leva' 2 3function MyComponent() { 4 const { name, aNumber } = useControls({ name: 'World', aNumber: 0 }) 5 6 return ( 7 <div> 8 Hey {name}, hello! {aNumber} 9 </div> 10 ) 11}
NOTE: Using Leva with React 18 will cause a console error about createRoot which you can safely ignore, or fix by following the instructions here: discussion
Thanks goes to these wonderful people (emoji key):
This project follows the all-contributors specification. Contributions of any kind welcome!
No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
Found 11/18 approved changesets -- score normalized to 6
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
security policy file not detected
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
48 existing vulnerabilities detected
Details
Score
Last Scanned on 2024-11-18
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