Gathering detailed insights and metrics for react-bootstrap-datetimerangepicker-edited
Gathering detailed insights and metrics for react-bootstrap-datetimerangepicker-edited
Gathering detailed insights and metrics for react-bootstrap-datetimerangepicker-edited
Gathering detailed insights and metrics for react-bootstrap-datetimerangepicker-edited
React date & time range picker component base on bootstrap-daterangepicker. This date range picker component for Bootstrap creates a dropdown menu from which a user can select a range of dates. Features include limiting the selectable date range, localizable strings and date formats, a single date picker mode, optional time picker (for e.g. making appointments or reservations), and styles that match the default Bootstrap 3 theme.
npm install react-bootstrap-datetimerangepicker-edited
Typescript
Module System
Node Version
NPM Version
70.9
Supply Chain
96.6
Quality
74.5
Maintenance
100
Vulnerability
99.6
License
JavaScript (100%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
3 Stars
52 Commits
3 Branches
1 Contributors
Updated on Jul 09, 2022
Latest Version
2.0.8
Package Id
react-bootstrap-datetimerangepicker-edited@2.0.8
Unpacked Size
225.60 kB
Size
53.32 kB
File Count
66
NPM Version
3.5.2
Node Version
8.10.0
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
3
26
This date range picker component for Bootstrap creates a dropdown menu from which a user can select a range of dates.
Base on bootstrap-daterangepicker
Fork of https://www.npmjs.com/package/react-bootstrap-datetimerangepicker
<2.0 to 2.x
Using official bootstrap-daterangepicker
1# <2.0 2npm install react-bootstrap-datetimerangepicker-edited
1// <2.0 2import 'bootstrap/dist/css/bootstrap.css'; 3import 'onefe-bootstrap-daterangepicker/daterangepicker.css'; 4 5// 2.x 6import 'bootstrap/dist/css/bootstrap.css'; 7import 'bootstrap-daterangepicker/daterangepicker.css';
npm install react-bootstrap-datetimerangepicker-edited --save
Date Range Picker relies on Bootstrap, jQuery and Moment.js. Include the required stylesheet in your page:
1import 'bootstrap/dist/css/bootstrap.css'; 2import 'bootstrap-daterangepicker/daterangepicker.css';
1import DatetimeRangePicker from 'react-bootstrap-datetimerangepicker'; 2 3<DatetimeRangePicker 4 startDate={this.state.startDate} 5 endDate={this.state.endDate} 6 onApply={this.handleApply} 7> 8 <input type="text" value={label}/> 9</DatetimeRangePicker> 10 11<DatetimeRangePicker 12 timePicker 13 timePicker24Hour 14 showDropdowns 15 timePickerSeconds 16 locale={locale} 17 startDate={this.state.startDate} 18 endDate={this.state.endDate} 19 onApply={this.handleApply} 20> 21 <Button> 22 <i className="fa fa-calendar"/> 23 <span>{label}</span> 24 <i className="fa fa-angle-down"/> 25 </Button> 26</DatetimeRangePicker>
More examples: Online demo, Source
For in depth documentation, see the original bootstrap-daterangepicker project page.
All of the events above should take a handler that is passed 2 arguments: event and picker
1var SomeReactComponent = React.createClass({ 2 handleEvent: function (event, picker) { 3 console.log(picker.startDate); 4 }, 5 render: function () { 6 return ( 7 <DatetimeRangePicker onEvent={this.handleEvent} /> 8 ); 9 } 10});
npm install
npm start
. This will watch for file changes as you work. And auto refresh the page to see the updates.No vulnerabilities found.
Reason
no binaries found in the repo
Reason
0 existing vulnerabilities detected
Reason
Found 0/30 approved changesets -- score normalized to 0
Reason
no SAST tool detected
Details
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
license file not detected
Details
Reason
branch protection not enabled on development/release branches
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