Skip to content
Saroj Dhakal
← All projects

nepali-calender-saroj

A React library for Nepali calendars and date pickers.

The problem

Ordinary date pickers only know the Gregorian calendar, so people in Nepal can't pick a Nepali date.

My role

I wrote, documented and published the package, and I maintain it.

What it does

  • Inline calendar, date picker and date range picker
  • Conversion both ways between BS and AD, for BS 2000 to 2090
  • Nepali or English script, in light and dark mode

How it was built

  • No dependencies besides React
  • Complete TypeScript definitions
  • 4,400+ downloads in the past year

Stack

TypeScript, React, npm