Convert between BS and AD dates with Devanagari formatting. Range BS 1970–2086, cross-checked against established datasets across 42,000+ conversions.
Install
$ npm install @lacspace/nepali-date
Quick example
@lacspace/nepali-datets
new NepaliDate().formatNepali()
Returns २०८३ भदौ ६, शनिबार
Tips
Zero-dependency and isomorphic — safe to import on the server, in the browser, on the edge and in React Native. It tree-shakes, so you only ship what you import.
Looking for the complete API and more examples? The npm page and GitHub README carry the full reference — or grab the PDF.