npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@jungle_d/vue-date-time-picker

v1.4.99

Published

Open source vue.js component to handle date and time values

Readme

Vue-Date-Time-Picker

Simple date and time picker built with Vue 2.x+ and using Luxon to handle dates

How to use

Do a regular npm install vue-date-time-picker and the file can be imported either through require or import. There is no need of CSS imports since all styles are scoped into the components

<template>
	<div id="app">
		<date-time-picker v-model="test"></date-time-picker>
	</div>
</template>
<script type="text/javascript">
(function () {
	"use strict";
	module.exports = {
		"name": "App",
		"components": {
			"DateTimePicker": require("vue-date-time-picker").DateTimePicker
		},
		"data": function() {
			return {
				"test": new Date()
			}
		}
	};
}());
</script>
<style scoped lang="scss" rel="stylesheet/scss"></style>

Properties

|Prop |Required |Default |Details | |---|---|---|---| |elId |false | String: "a" + Date.now() |ID to attach to HTML element | |value/v-model |true | String/Object/Date: undefined | Reactive variable to hold date selection value | |minDate |false |String/Object/Date: undefined | Minimum date to control which dates can be selected| |referenceDate |false |String/Object/Date: undefined |Date to be used as reference, or to define a range between two date-pickers instance | |rangedPoint |false |String: undefined |This should be used to work with ranged dates with two date pickers instance, one will be start and the another will be end | |placeholder |false |String: Insert date |Input placeholder | |customTimeZone |false |String: "" |Custom Time zone string to be applied | |weekPattern |false |String: "default" |Define which rules should be applied regarding week start. default = sunday to saturday, iso = monday to sunday | |align |false |String: "left" |Define the alignment of the calendar popup relative to the input |

Roadmap

This project is still on development and on its early phases. I had the need of such a component on my work so I thought that would be nice to open source it and keep improving over time. Any contributions, feature requests, feedbacks and/or tips are very well appreaciated. Feel free to open a PR or raise an issue at the Issues section.

Next features / needing help

  • Replace luxon by a vanilla js approach to reduce footprint
  • Handle events
  • Create more customisation options and enhance the ranged feature
  • Create a more complete sample page
  • Improve accessibility
  • Improve locale support on labels

Contributing

This project relies on Gulp.js and Babel to perform transformations. All css applied is bundled to each component.

  1. run npm install
  2. run gulp build to apply the changes
  3. The source code is under the src folder, and the js/main.js file is responsible to loading up the Vue.js component through components/date-time-picker instance
  4. Some css variables can be found under the src/scss/variables.scss file, this can be useful to customize the component