tulsiojha / nepali-datepicker-react

Nepali Datepicker React is a lightweight, highly customizable, and feature-rich datepicker component, specifically designed for handling Nepali dates in React.js applications. It offers seamless integration, intuitive user experience, and extensive configuration options.
https://nepali-datepicker-react.ojhabikash.com.np/
MIT License
1 stars 0 forks source link

(refactor):Separate NepaliDate API package for independent operation in multiple framework #7

Closed tulsiojha closed 4 days ago

tulsiojha commented 3 weeks ago

As of now, Nepali Datepicker React has an inbuilt NepaliDate API utility. However, in some cases where a React component isn't necessary, such as when developing APIs (e.g., in Next.js API routes, Remix API routes, or Node.js), using Nepali Datepicker React would throw an error.

To support these cases, an independent utility for handling Nepali dates outside the React component would be helpful.

tulsiojha commented 4 days ago

Separate package is available at https://www.npmjs.com/package/@zener/nepali-date