Nepali Calendar npm
npm ui and util libraries for angular and react.
- Year
- 2026 · Active
- Role
- Developer
- Stack
- Typescript, Nodejs
- Links
- npm-react, npm-angular, npm-util
OSN Nepali Calendar: npm packages
A TypeScript toolkit for the Nepali Bikram Sambat (BS) calendar, published under @opensourcenepal (v1.2.0).
| Package | What it does |
|---|---|
@opensourcenepal/nepali-calendar | Core library with no framework dependency: AD/BS conversion, date validation, and formatting in Roman or Devanagari script. |
@opensourcenepal/nepali-calendar-react | <NepaliCalendar> month view and date picker for React 18+. |
@opensourcenepal/nepali-calendar-angular | The same component for Angular 22, with two-way binding, ngModel and reactive forms. |
Highlights
- Shows AD dates alongside BS dates, with switchable AD and Nepal Sambat views
- Nepali/Roman script toggle, keyboard navigation and dark mode
- Themeable with CSS variables
- Covers BS 1970 to 2090, kept in sync with the companion .NET NuGet library by a test
- Storybook for every component
Stack
TypeScript · npm workspaces · Vitest · Storybook · GitHub Actions CI with tag-based releases