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

nepali-datepicker-vue

v2.0.0

Published

A Vue 3 Nepali Datepicker with TypeScript Support

Downloads

328

Readme

Nepali Date Picker (Vue 3) 🇳🇵

npm version License: MIT Docs

A professional, feature-rich Nepali (Bikram Sambat) date picker component for Vue 3. Built with modern Composition API and TypeScript, providing a seamless and accessible date selection experience.


📚 Full Documentation

For advanced usage, examples, and full API reference, visit the official documentation: 👉 https://nepalidatepicker.sandip-ghimire.com.np/


✨ Features

  • Vue 3 Optimized: Built specifically for Vue 3 using the Composition API.
  • Smart Positioning: Automatically detects viewport space to position the calendar above or below the input.
  • Teleport Rendering: Renders the calendar popup at the body level to avoid clipping by parent containers.
  • Date Constraints: Support for minDate and maxDate restrictions.
  • Interactive Formatting: Auto-formats input as you type (YYYY-MM-DD).
  • Rich UI: Highlighting for Today, Saturdays, and out-of-range dates.
  • TypeScript Support: Full type definitions included for a better developer experience.
  • Highly Customizable: Easily override styles with custom CSS classes.

🚀 Installation

npm install nepali-datepicker-vue
# or
pnpm add nepali-datepicker-vue

Import Styles

Import the required CSS in your entry file (e.g., main.ts or App.vue):

import "nepali-datepicker-vue/main.css";

📖 Usage

Basic Example

<script setup>
import { ref } from "vue";
import { NepaliDatePicker } from "nepali-datepicker-vue";

const selectedDate = ref("");
</script>

<template>
  <NepaliDatePicker v-model="selectedDate" placeholder="Select Nepali Date" />
</template>

With Date Range

<template>
  <NepaliDatePicker v-model="date" minDate="2080-01-01" maxDate="2085-12-30" />
</template>

🛠 Props

| Prop | Type | Default | Description | | ------------------- | --------- | ------- | ----------------------------------------- | | modelValue | string | '' | v-model binding (BS date in YYYY-MM-DD) | | minDate | string | '' | Minimum selectable date | | maxDate | string | '' | Maximum selectable date | | yearSelect | boolean | true | Show year dropdown | | monthSelect | boolean | true | Show month dropdown | | placeholder | string | '' | Input placeholder | | disabled | boolean | false | Disable the picker | | highlightSaturday | boolean | false | Highlight Saturdays in red | | miniEnglishDate | boolean | false | Show AD day number in cells |


🤝 Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

📄 License

MIT © Sandip Ghimire