Gathering detailed insights and metrics for vue-datetime-js
Gathering detailed insights and metrics for vue-datetime-js
Gathering detailed insights and metrics for vue-datetime-js
Gathering detailed insights and metrics for vue-datetime-js
npm install vue-datetime-js
70.4
Supply Chain
96.8
Quality
74.1
Maintenance
100
Vulnerability
98.6
License
Module System
Min. Node Version
Typescript Support
Node Version
NPM Version
7 Stars
116 Commits
8 Forks
2 Watching
17 Branches
6 Contributors
Updated on 07 Oct 2024
Vue (70.56%)
JavaScript (18.87%)
SCSS (9.43%)
CSS (0.81%)
HTML (0.34%)
Cumulative downloads
Total Downloads
Last day
-27.9%
75
Compared to previous day
Last week
4.1%
405
Compared to previous week
Last month
-16.9%
1,663
Compared to previous month
Last year
-76.4%
12,275
Compared to previous year
2
24
See documentation and demo at vue-datetime-js
1npm install vue-datetime-js --save
webpack.config.js:
1/** 2 * configuration for moment to ignore loading locales 3 */ 4module.exports.plugins = [ 5 //... 6 new webpack.IgnorePlugin(/^\.\/locale$/, /moment$/) 7 //... 8]
main.js
1//... 2import VueDatetimeJs from 'vue-datetime-js'; 3Vue.component('date-picker', VueDatetimeJs); 4//...
Or in component
1<template> 2 <div> 3 <date-picker v-model="date"></date-picker> 4 </div> 5</template> 6 7<script> 8 import VueDatetimeJs from 'vue-datetime-js' 9 export default { 10 data(){ 11 return { 12 date: '' 13 } 14 }, 15 components: { 16 datePicker: VueDatetimeJs 17 } 18 } 19</script>
main.js
1import VueDatetimeJs from 'vue-datetime-js'; 2Vue.use(VuePersianDatetimePicker, { 3 name: 'custom-date-picker', 4 props: { 5 inputFormat: 'YYYY-MM-DD HH:mm', 6 format: 'jYYYY-jMM-jDD HH:mm', 7 editable: false, 8 inputClass: 'form-control my-custom-class-name', 9 placeholder: 'Please select a date', 10 altFormat: 'YYYY-MM-DD HH:mm', 11 color: '#00acc1', 12 autoSubmit: false, 13 //... 14 //... And whatever you want to set as default 15 //... 16 } 17});
Then use in component
1<custom-date-picker v-model="date"></custom-date-picker>
This project is licensed under the MIT License
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
Found 1/29 approved changesets -- score normalized to 0
Reason
1 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
license 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
50 existing vulnerabilities detected
Details
Score
Last Scanned on 2024-11-25
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 Morevue-datetime
Mobile friendly datetime picker for Vue. Supports date, datetime and time modes, i18n and disabling dates.
flatpickr
A lightweight, powerful javascript datetime picker
react-datetime
A lightweight but complete datetime picker React.js component
react-native-modal-datetime-picker
A react-native datetime-picker for Android and iOS