A Nepali Date Library for both typescript and javascript
npm install nepali-date-library


The NepaliDate library provides a proper way to work with Nepali (Bikram Sambat) dates in TypeScript/JavaScript. It allows you to create, manipulate, format, and convert between Nepali Bikram Sambat date (1976/01/01 - 2100/12/31) and Gregorian dates (1919-03-13 - 2044-04-12) with support for fiscal years, quarters, and extensive date operations.
For detailed guides, API references, and examples, please visit our official Wiki:
š nepalidate.sandip-ghimire.com.np
``sh`
npm install nepali-date-library
`ts
import { NepaliDate, ADtoBS, BStoAD } from "nepali-date-library";
const now = new NepaliDate();
console.log(now.format("YYYY-MM-DD"));
``
For more advanced usage, please refer to the Wiki.