04Open Source2026Personal Project

Nepali Calendar Kit

An open-source npm package (@gambhirpoudel/nepali-calendar-kit) providing AD ↔ BS date conversion, flexible date formatting with Nepali numerals, and a fully themeable, type-aware Nepali Date Picker React component. Averaging 4–6 downloads per week from developers building Nepali-language apps.

01Overview

The brief

An open-source npm package (@gambhirpoudel/nepali-calendar-kit) providing AD ↔ BS date conversion, flexible date formatting with Nepali numerals, and a fully themeable, type-aware Nepali Date Picker React component. Averaging 4–6 downloads per week from developers building Nepali-language apps.

02Documentation

About the application

Nepali Calendar Kit is a lightweight, fully TypeScript-typed React library for converting between AD (Gregorian) and BS (Bikram Sambat) dates, with utilities like adToBs, bsToAd, formatBs, and formatAd supporting multiple display formats and Nepali numerals.

The included NepaliDatePicker component lets users type dates in either BS or AD — auto-detecting and converting as needed — with keyboard shortcuts (Enter to confirm, Escape to dismiss) and a result object returning BS, AD, and Nepali-numeral representations simultaneously.

Every visual aspect of the picker is themeable via a Theme interface (colors, radius, fonts, shadows), and an object-oriented NepaliDate class mirrors the native Date API for BS dates — including today(), getYear(), getMonth(), and format().

Published on npm and averaging 4–6 downloads per week, the package serves developers building Nepali-language web applications who need reliable BS calendar support, and is used internally to power the Sajilo Khata app's BS date features.

04Stack

Built with

  • 01TypeScript
  • 02React
  • 03Node.js