Gathering detailed insights and metrics for @mikevl/libreact
Gathering detailed insights and metrics for @mikevl/libreact
Gathering detailed insights and metrics for @mikevl/libreact
Gathering detailed insights and metrics for @mikevl/libreact
npm install @mikevl/libreact
Typescript
Module System
Node Version
NPM Version
TypeScript (98.92%)
JavaScript (1.04%)
Shell (0.05%)
Total Downloads
394
Last Day
1
Last Week
7
Last Month
17
Last Year
190
Unlicense License
2,624 Stars
817 Commits
82 Forks
26 Watchers
30 Branches
13 Contributors
Updated on May 09, 2025
Latest Version
2.13.3
Package Id
@mikevl/libreact@2.13.3
Unpacked Size
19.96 kB
Size
5.35 kB
File Count
3
NPM Version
8.19.3
Node Version
16.19.0
Published on
Feb 14, 2023
Cumulative downloads
Total Downloads
Last Day
0%
1
Compared to previous day
Last Week
133.3%
7
Compared to previous week
Last Month
-5.6%
17
Compared to previous month
Last Year
65.2%
190
Compared to previous year
7
4
37
React standard library—must-have toolbox for any React project.
react-native
).npm i libreact --save
Library is modular—you can import each component by its name.
1import {mock} from 'libreact/lib/mock'; 2// or 3import {mock} from 'libreact/modules/mock'; 4 5const MyComponent = mock();
mock()
and loadable()
— examplelazy()
and delayed()
<State>
and withState()
<Toggle>
, withToggle()
, and @withToggle
— example<Flipflop>
, withFlipflop()
, and @withFlipflop
<Value>
, withValue()
, and @withValue
<Counter>
, withCounter()
and @withCounter
<List>
, withList()
, and @withList
<Map>
, withMap()
, and @withMap
<ShouldUpdate>
, shouldUpdate()
, and pure()
<Lifecycles>
invert()
and <Inverted>
<ActiveSensor>
, withActive()
, and @withActive
<BatterySensor>
, withBattery()
, and @withBattery
<ExitSensor>
— example<FocusSensor>
, withFocus()
, and @withFocus
<GeoLocationSensor>
, withGeoLocation()
, and @withGeoLocation
<HoverSensor>
, withHover()
, and @withHover
— example<IdleSensor>
, withIdle()
, and @withIdle
<MediaDeviceSensor>
, withMediaDevices()
, and @withMediaDevices
<MediaSensor>
, withMedia()
, and @withMedia
<MotionSensor>
, withMotion()
, and @withMotion
<MouseSensor>
, withMouse()
, and @withMouse
— example<NetworkSensor>
, withNetwork()
, and @withNetwork
<LightSensor>
, withLight()
, and @withLight
<LocationSensor>
, withLocation()
, and @withLocation
<OrientationSensor>
, withOrientation()
, and @withOrientation
<ScratchSensor>
, withScratch()
, and @withScratch
<ScrollSensor>
<SizeSensor>
, withSize()
, and @withSize
— example
<TouchSupportSensor>
<ViewportSensor>
, withViewport()
, and @withViewport
<WindowScrollSensor>
, withWindowScroll()
, and @withWindowScroll
<WindowSizeSensor>
, withWindowSize()
, and @withWindowSize
<Provider>
, <Consumer>
, withContext()
, and @withContext
<Theme>
, <Themed>
, withTheme()
, and @withTheme
<CssVarsProvider>
, <CssVars>
, withCssVars()
, and @withCssVars
createRouter()
, <Router>
, <Route>
, <Switch>
, <Match>
, <Link>
, and go()
<Translations>
, <Translate>
, <T>
, withT()
, and @withT
<Portal>
, <Overlay>
, and <Modal>
<Dimmer>
and <Dimmable>
<Parallax>
<FullScreen>
<Slider>
<DropArea>
<Group>
<InfiniteScroll>
<OutsideClick>
<Ripple>
and withRipple()
— example<Img>
<ListTable>
<WidthQuery>
, <View>
, <WindowWidthQuery>
, and <InlineWidthQuery>
<Audio>
and <Video>
<Speak>
, <Vibrate>
, <Alert>
<BrowserOnly>
, <ServerOnly>
, and <ElectronOnly>
<ErrorBoundary>
and withErrorBoundary()
<CacheBoundary>
This project exists thanks to all the people who contribute.
Thank you to all our backers! 🙏 [Become a backer]
Support this project by becoming a sponsor. Your logo will show up here with a link to your website. [Become a sponsor]
Unlicense — public domain.
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
Found 3/16 approved changesets -- score normalized to 1
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
branch protection not enabled on development/release branches
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
162 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-04-28
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