इस प्रोजेक्ट के बारे में
FormatJS एक monorepo है जो JavaScript अनुप्रयोगों के लिए अंतरराष्ट्रीयकरण (i18n) लाइब्रेरी का एक संग्रह होस्ट करता है। इसका सबसे प्रमुख पैकेज react-intl है, जो React अनुप्रयोगों को अंतरराष्ट्रीयकृत करने के लिए React घटक और API प्रदान करता है।
रिपॉजिटरी कई i18n चिंताओं को कवर करते हुए कई पैकेज प्रकाशित करती है:
- **कोर फॉर्मेटिंग**: ICU संदेश स्ट्रिंग को फॉर्मेट करने के लिए intl-messageformat, और कई Intl API को समेटने वाले रंटाइम पॉलीफिल के रूप में @formatjs/intl।
- **Locale-Specific API**: विभिन्न ECMAScript Internationalization API के लिए पॉलीफिल और कार्यान्वयन, जिनमें intl-datetimeformat, intl-displaynames, intl-getcanonicallocales, intl-listformat, intl-locale, intl-localematcher, intl-numberformat, intl-pluralrules, intl-relativetimeformat, और intl-segmenter शामिल हैं।
- **पार्सिंग**: ICU MessageFormat स्ट्रिंग को पार्स करने के लिए @formatjs/icu-messageformat-parser।
- **टूलिंग**: संदेशों के कमांड-लाइन निष्कर्षण और प्रबंधन के लिए @formatjs/cli और @formatjs/cli-lib। संकलन-समय संदेश निष्कर्षण के लिए @formatjs/ts-transformer और babel-plugin-formatjs। i18n-संबंधित कोड को lint करने के लिए eslint-plugin-formatjs।
- **उपयोगिताएँ**: साझा आंतरिक उपयोगिताएँ के लिए @formatjs/utils।
यह परियोजना monorepo प्रबंधन के लिए Lerna और क्रॉस-ब्राउज़र परीक्षण के लिए Sauce Labs का उपयोग करती है। README में विकास निर्देशों के लिए CONTRIBUTORS.md फ़ाइल की ओर इशारा किया गया है और सामुदायिक समर्थन के लिए एक Slack चैनल प्रदान किया गया है।
Comments
0 Rating appears after 10 ratings
Sign in to join the discussion.