Gathering detailed insights and metrics for ng-hijri-gregorian-datepicker
Gathering detailed insights and metrics for ng-hijri-gregorian-datepicker
Gathering detailed insights and metrics for ng-hijri-gregorian-datepicker
Gathering detailed insights and metrics for ng-hijri-gregorian-datepicker
Lightweight Angular.js datepicker built with Moment.js and from scratch CSS
npm install ng-hijri-gregorian-datepicker
Typescript
Module System
Node Version
NPM Version
JavaScript (62.4%)
CSS (24.34%)
HTML (13.25%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
40 Commits
1 Forks
1 Watchers
3 Branches
1 Contributors
Updated on Apr 09, 2020
Latest Version
1.0.0
Package Id
ng-hijri-gregorian-datepicker@1.0.0
Unpacked Size
82.35 kB
Size
16.06 kB
File Count
14
NPM Version
5.6.0
Node Version
8.11.3
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
Lightweight Angular.js hijri and gregorian datepicker directive built with Moment.js.
npm install --save ng-hijri-gregorian-datepicker
/dist/ng-hijri-gregorian-datepicker.js
and /dist/ng-hijri-gregorian-datepicker.css
'ngHijriGregorianDatepicker'
as dependency of your angular module.This is an attribute only directive.
1<input type="text" ng-model="date" ng-hijri-gregorian-datepicker>
1<button ng-model="date" ng-hijri-gregorian-datepicker>Pick a date</button>
datepicker-config
: Object - The datepicker's config object.selected-date
: Object - returns the selected value in this format {"hijri":"18/11/1439","gregorian":"31/07/2018"}.1<input type="text" ng-model="date" datepicker-config="yourCustomConf" ng-hijri-gregorian-datepicker>Pick a date</button>
dateFormat
: String - The Moment.js format of the date in the ng-model
. Fallback to js date Object if no format is given. Eg: 'DD/MM/YYYY'
.minDate
: Object - The minimum selectable date. Must be a Moment Date Object.maxDate
: Object - The maximum selectable date. Must be a Moment Date Object.allowFuture
: Boolean - Maximum selectable date is todayallowPast
: Boolean - Minimum selectable date is todaygregorianDateFormat
: String - Must be a Moment valid format.hijriDateFormat
: String - Must be a Moment-hijri valid format.defaultDisplay:
: String - 'gregorian' or 'hijri'.maxDate
: String - Must be a Moment valid locale.Default locale is english but you can load any locale of your choice (Angular and Moment), the datepicker use the currents locales.
Just install the dev dependencies and start a gulp watch
Fork from: RemiAWE
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
no SAST tool detected
Details
Reason
Found 0/30 approved changesets -- score normalized to 0
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
project is not fuzzed
Details
Reason
security policy file not detected
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
73 existing vulnerabilities detected
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