Gathering detailed insights and metrics for libreact
Gathering detailed insights and metrics for libreact
npm install libreact
Typescript
Module System
Node Version
NPM Version
TypeScript (98.92%)
JavaScript (1.04%)
Shell (0.05%)
Love this project? Help keep it running — sponsor us today! 🚀
Total Downloads
399,434
Last Day
85
Last Week
587
Last Month
2,615
Last Year
49,769
2,626 Stars
817 Commits
82 Forks
27 Watching
30 Branches
13 Contributors
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
-8.6%
85
Compared to previous day
Last week
-27.6%
587
Compared to previous week
Last month
-24.6%
2,615
Compared to previous month
Last year
-2.2%
49,769
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
160 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-01-27
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