{"id":36646505,"url":"https://github.com/farzinfweb/ferz","last_synced_at":"2026-01-12T10:00:55.814Z","repository":{"id":57234511,"uuid":"427724870","full_name":"farzinfweb/ferz","owner":"farzinfweb","description":"\u003e Ferz is a library for working with dates, times and 10 different calendars in JavaScript.","archived":false,"fork":false,"pushed_at":"2023-08-23T23:12:27.000Z","size":195,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-25T08:11:14.013Z","etag":null,"topics":["calendars","date-converter","dates","datetime","times"],"latest_commit_sha":null,"homepage":"https://farzinfweb.github.io/ferz","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/farzinfweb.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-11-13T17:07:14.000Z","updated_at":"2024-02-23T06:44:31.000Z","dependencies_parsed_at":"2024-09-18T23:56:06.756Z","dependency_job_id":"153a2c2b-a573-4aeb-b433-16b61a4a2077","html_url":"https://github.com/farzinfweb/ferz","commit_stats":{"total_commits":28,"total_committers":1,"mean_commits":28.0,"dds":0.0,"last_synced_commit":"33cf8b9f237e7f81f84f67449b24daf08518f1bc"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/farzinfweb/ferz","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/farzinfweb%2Fferz","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/farzinfweb%2Fferz/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/farzinfweb%2Fferz/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/farzinfweb%2Fferz/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/farzinfweb","download_url":"https://codeload.github.com/farzinfweb/ferz/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/farzinfweb%2Fferz/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28337868,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-12T06:09:07.588Z","status":"ssl_error","status_checked_at":"2026-01-12T06:05:18.301Z","response_time":98,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["calendars","date-converter","dates","datetime","times"],"created_at":"2026-01-12T10:00:35.838Z","updated_at":"2026-01-12T10:00:55.803Z","avatar_url":"https://github.com/farzinfweb.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Ferz\n\n\u003e Ferz is a library for working with dates, times and 10 different calendars in JavaScript.\n\n## Table of contents\n\n- [Ferz](#ferz)\n  - [Table of contents](#table-of-contents)\n  - [Installation](#installation)\n  - [Usage](#usage)\n  - [Authors](#authors)\n  - [License](#license)\n\n## Installation\n\n**BEFORE YOU INSTALL:** please read the [prerequisites](#prerequisites)\n\nTo install and set up the library, run:\n\n```sh\n$ npm install -S ferz\n```\n\nOr if you prefer using Yarn:\n\n```sh\n$ yarn add --dev ferz\n```\n\n## Usage\nTo get the current date, you can use the **now** as below:\n```\nDateTime.now()\n```\nto get the date in a specific calendar, you can pass it as an argument\n```\nDateTime.now('persian')\n``` \n\nTo format the date, call **stringifyWith** with the format you need, for example:\n```\nDateTime.now().stringifyWith('yyyy-MM-dd')\n```\nwill give you 2022-02-02\n\n\n## Authors\n\n* **Farzin Farzanehnia** - *Initial work* - [Farzin Farzanehnia](https://github.com/farzinfweb)\n\nSee also the list of [contributors](https://github.com/farzinfweb/ferz/contributors) who participated in this project.\n\n## License\n\n[MIT License](https://farzinfweb.mit-license.org/2019) © Farzin Farzanehnia\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffarzinfweb%2Fferz","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffarzinfweb%2Fferz","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffarzinfweb%2Fferz/lists"}