
A dead simple, plug-and-play date picker component written in Vanilla JavaScript.
How to use it:
1. Download the package and import the date picker’s files into the document.
<link rel="stylesheet" href="./datepicker.css" /> <script src="./datepicker.js"></script>
2. Attach the date picker to an input field. That’s it.
<input type="text" id="datepicker" class="datepicker" />
let datepicker = new DatePicker(document.getElementById('datepicker'));






