Gathering detailed insights and metrics for libreact
Gathering detailed insights and metrics for libreact
Gathering detailed insights and metrics for libreact
Gathering detailed insights and metrics for libreact
npm install libreact
Typescript
Module System
Node Version
NPM Version
56.8
Supply Chain
91.5
Quality
76.4
Maintenance
50
Vulnerability
97.6
License
TypeScript (98.92%)
JavaScript (1.04%)
Shell (0.05%)
Total Downloads
409,740
Last Day
50
Last Week
505
Last Month
2,910
Last Year
45,172
Unlicense License
2,624 Stars
817 Commits
82 Forks
26 Watchers
30 Branches
13 Contributors
Updated on May 09, 2025
Minified
Minified + Gzipped
Latest Version
2.13.3
Package Id
libreact@2.13.3
Unpacked Size
689.19 kB
Size
155.55 kB
File Count
659
NPM Version
5.1.0
Node Version
8.17.0
Cumulative downloads
Total Downloads
Last Day
-30.6%
50
Compared to previous day
Last Week
-24.7%
505
Compared to previous week
Last Month
-14.6%
2,910
Compared to previous month
Last Year
-14.3%
45,172
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
license file detected
Details
Reason
no binaries found in the repo
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
branch protection not enabled on development/release branches
Details
Reason
project is not fuzzed
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-05-05
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