v0.1.0MITTypeScriptReact

NepaliKit

A collection of TypeScript tools for the Bikram Sambat (Nepali) ecosystem — dates, calendars, location data, validation, and React components.

@nepali-utils/core

Framework-agnostic TypeScript library for Bikram Sambat dates, number conversion, calendar utilities, location data, and phone validation.

  • BS ↔ AD date conversion
  • Nepali number formatting
  • Complete location data (provinces, districts, municipalities)
  • Phone number validation for Nepal
  • Currency formatting & number to words
  • Zero dependencies, tree-shakeable
bash
1
npm install @nepali-utils/core

date-picker-bs

A React date picker and calendar for the Bikram Sambat (Nepali) calendar — built with Radix UI Popover, Tailwind CSS, and shadcn/ui.

  • DatePickerBS — popover-based date picker
  • CalendarBS — standalone inline calendar
  • English & Nepali language support
  • Date constraints (min, max, disabled days)
  • Customizable formatting & styling
  • Built on @nepali-utils/core
bash
1
npm install date-picker-bs