nepali-date-library
v1.1.14
Published
A Nepali Date Library for both typescript and javascript
Maintainers
Readme
NepaliDate Library
Overview
NepaliDate is a lightweight, high-performance library for working with Nepali (Bikram Sambat) dates in modern TypeScript and JavaScript environments. It provides seamless conversion between BS and Gregorian (AD) dates, support for fiscal years, quarters, and comprehensive formatting options.
📚 Documentation
For detailed guides, API references, and examples, please visit our official Wiki:
👉 nepalidate.sandip-ghimire.com.np
Installation
npm install nepali-date-library
# or
pnpm add nepali-date-libraryQuick Start
Basic Usage in your project:
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](https://nepalidate.sandip-ghimire.com.np).
## License
[MIT](https://github.com/SandipGhimire/Nepali-Date-Library/blob/master/LICENSE) © [Sandip Ghimire](https://github.com/SandipGhimire)