A comprehensive Angular toolset for Persian applications, featuring Jalali date handling, number/letter conversion, and Iranian-specific validators.
NgxPersian is an Angular library that provides a comprehensive set of tools for developing applications tailored for Persian-speaking users. It solves common localization challenges such as Jalali (Persian calendar) date handling, number/letter conversion between English/Arabic/Persian, and validation of Iranian-specific data like national codes and phone numbers.
Angular developers building applications for Iranian or Persian-speaking audiences, particularly those needing localized date handling, number formatting, and region-specific validations.
Developers choose NgxPersian because it offers a complete, idiomatic Angular solution in one package, with thorough testing, active maintenance, and a design that integrates seamlessly with Angular's patterns, unlike fragmented or outdated alternatives.
A full-featured toolset for Persian Applications Created by Angular (v > 2) containing Pipes, Services, Directives, and javascript Similar Date object for working with Jalali Date.
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Provides a full suite of pipes, services, and directives for number conversion, date handling, and Iranian validations, eliminating the need for multiple packages as emphasized in the README's 'Why you should use this library?' section.
Built the 'Angular way' with native patterns like pipes and services, ensuring better integration and maintainability compared to wrapped JavaScript libraries, as stated in the philosophy.
Features over 590 unit tests with 90% coverage and active maintenance, addressing issues promptly, which the README highlights as a key advantage over outdated alternatives.
Offers a JDate class mimicking JavaScript's Date object for the Persian calendar, with timezone awareness and formatting pipes, solving common date-handling problems for Iranian developers.
The README badge shows documentation at 73%, indicating gaps that could hinder onboarding and advanced usage, despite claims of clarity.
Explicitly developed for Angular v4 to v7 per the README, raising concerns about compatibility with newer versions unless updated, which might cause breaking changes.
Heavily focused on Persian and Iranian specifics, with verbose setup requiring module imports for pipes and services, making it less versatile for general or multi-locale applications.