JSPM

@rato-guras-technology/nepali-date-picker

1.0.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 9
  • Score
    100M100P100Q51953F
  • License MIT

A customizable Nepali (Bikram Sambat) date picker

Package Exports

  • @rato-guras-technology/nepali-date-picker
  • @rato-guras-technology/nepali-date-picker/dist/index.esm.js
  • @rato-guras-technology/nepali-date-picker/dist/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@rato-guras-technology/nepali-date-picker) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Nepali Date Picker

A lightweight, customizable Nepali (Bikram Sambat) date picker for modern web applications.

Features

  • 📅 Nepali Bikram Sambat calendar support (2000 BS - 2090 BS)
  • 🔄 Conversion between Gregorian and Nepali dates
  • 🌐 Supports both Nepali and English languages
  • 🎨 Customizable themes and colors
  • 📱 Responsive and mobile-friendly
  • 🔍 Date range validation
  • 🌙 Dark mode support
  • ⌨️ Keyboard navigation
  • ♿ Accessibility features

Installation

```bash npm install nepali-date-picker ```

With Options

```javascript import { NepaliDatePicker } from 'nepali-date-picker'; import 'nepali-date-picker/dist/styles.css';

const datePicker = new NepaliDatePicker('#date-picker', { theme: 'dark', primaryColor: '#10B981', // Emerald color language: 'ne', showTodayButton: true, closeOnSelect: true, disableFutureDates: true, onDateSelect: (date) => { console.log('Selected date:', date); } });

Usage

Basic Usage

<input id="date-picker" type="text" readonly />