{"repo":"Shmulik-Kravitz/jewish-date","free":true,"listed":false,"github":"https://github.com/Shmulik-Kravitz/jewish-date","clone":"git clone https://github.com/Shmulik-Kravitz/jewish-date.git","description":"Jewish Date is a fast and modern 2kB JavaScript library that provides a simple and efficient Gregorian-to-Hebrew and vice versa date converter.","language":"TypeScript","stars":70,"topics":["date","hebrew","jewish","luach","calendar","convert","hebcal","hdate","javascript","npm"],"license":"MIT","category":"productivity","readme_excerpt":"Jewish Date is a fast and modern 2kb alternative to hebcal with an MIT license. Jewish Date is a fast and modern 2kB JavaScript library that provides a simple and efficient Gregorian-to-Hebrew and vice versa date converter. With an MIT license and seamless compatibility with all browsers, node.js, and TypeScript, Jewish Date is a reliable and efficient date converter that can help you convert dates between the Hebrew and Gregorian calendars with ease. - 📦 2kb mini library (minified & gzip) - 📜 MIT License - 🔧 Easy to use - 💻 Seamless compatibility with both Node.js and the browser Getting Started Installation Or with npm Usage TypeScript & ES6 example For ES5 Replace With Format Patterns Both formatJewishDate and formatJewishDateInHebrew accept an optional pattern string as the second argument. The pattern uses tokens similar to date-fns. Supported Tokens Token Description formatJewishDate formatJewishDateInHebrew ------ ------------------------ ------------------ -------------------------- d Day (numeric) 8 8 dd Day (zero-padded) 08 08 D Day (gematria in Hebrew) 8 ח׳ M Month number 2 2 MM Month number (padded) 02 02 MMMM Month name Iyyar אייר yy Year short (numeric) 83 83 YY Year short (gematria) 83 פ״ג yyyy Year full (numeric) 5783 5783 YYYY Year full (gematria) 5783 התשפ״ג Examples License Jewish Date is licensed under a MIT License.","default_branch":null,"files":null,"tree":[],"storefront":"/r/Shmulik-Kravitz","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Shmulik-Kravitz/jewish-date/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}