Installations
npm install ampersand-date-view2
Developer Guide
Typescript
No
Module System
CommonJS
Node Version
4.0.0
NPM Version
2.14.2
Releases
Unable to fetch releases
Contributors
Unable to fetch Contributors
Languages
JavaScript (100%)
Love this project? Help keep it running — sponsor us today! 🚀
Developer
thisjustin
Download Statistics
Total Downloads
1,255
Last Day
1
Last Week
2
Last Month
9
Last Year
67
GitHub Statistics
17 Commits
3 Watching
1 Branches
1 Contributors
Package Meta Information
Latest Version
0.0.9
Package Id
ampersand-date-view2@0.0.9
Size
9.17 kB
NPM Version
2.14.2
Node Version
4.0.0
Total Downloads
Cumulative downloads
Total Downloads
1,255
Last day
0%
1
Compared to previous day
Last week
0%
2
Compared to previous week
Last month
350%
9
Compared to previous month
Last year
-71.6%
67
Compared to previous year
Daily Downloads
Weekly Downloads
Monthly Downloads
Yearly Downloads
ampersand-date-view2
An extension of ampersand-date-view and ampersand-input-view to create a three part date control.
This control renders month as an input. I f you want month as a select menu see the original ampersand-date-view.
install
npm install ampersand-date-view2
example
1var FormView = require('ampersand-form-view'); 2var DateView = require('ampersand-date-view2'); 3 4module.exports = FormView.extend({ 5 fields: function () { 6 return [ 7 new DateView({ 8 label: 'Birth date', 9 value: this.model.birthDate || '', 10 name: 'birthDate', 11 yearMax: 2000 12 }), 13 ... 14 ]; 15 } 16}); 17
opts
- yearMin (defaults to 1900)
- yearMax (defaults to 2100)
And all the standard options from ampersand-input-view
changelog
0.0.7 - removing hardcoded limitation on year 0.0.8 - Changes provided by @xicombd from @sinfo: added yearMin, yearMax constraints, demo, and lint cleanup 0.0.9 - (forked from ampersand-date-view) changed month field from select to input
credits
Thanks to the Ampersand group & Mike Hedman!
license
MIT
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
0 existing vulnerabilities detected
Reason
license file detected
Details
- Info: project has a license file: LICENSE:0
- Info: FSF or OSI recognized license: MIT License: LICENSE:0
Reason
Found 0/17 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
security policy file not detected
Details
- Warn: no security policy file detected
- Warn: no security file to analyze
- Warn: no security file to analyze
- Warn: no security file to analyze
Reason
project is not fuzzed
Details
- Warn: no fuzzer integrations found
Reason
branch protection not enabled on development/release branches
Details
- Warn: branch protection not enabled for branch 'master'
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
- Warn: 0 commits out of 1 are checked with a SAST tool
Score
3
/10
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