{"id":21673172,"url":"https://github.com/rkhayyat/nativescript-hijri","last_synced_at":"2025-06-10T17:02:13.764Z","repository":{"id":57308547,"uuid":"102534848","full_name":"rkhayyat/nativescript-hijri","owner":"rkhayyat","description":"Nativescript plugin to convert from gregorian  to hijri date","archived":false,"fork":false,"pushed_at":"2017-10-10T07:14:04.000Z","size":2052,"stargazers_count":8,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-25T23:41:38.646Z","etag":null,"topics":["hijri","nativescript","plugin"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rkhayyat.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-09-05T22:15:19.000Z","updated_at":"2024-05-30T16:18:11.000Z","dependencies_parsed_at":"2022-08-29T02:41:37.986Z","dependency_job_id":null,"html_url":"https://github.com/rkhayyat/nativescript-hijri","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rkhayyat%2Fnativescript-hijri","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rkhayyat%2Fnativescript-hijri/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rkhayyat%2Fnativescript-hijri/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rkhayyat%2Fnativescript-hijri/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rkhayyat","download_url":"https://codeload.github.com/rkhayyat/nativescript-hijri/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248125592,"owners_count":21051771,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["hijri","nativescript","plugin"],"created_at":"2024-11-25T13:37:14.724Z","updated_at":"2025-04-12T04:10:01.460Z","avatar_url":"https://github.com/rkhayyat.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![npm](https://img.shields.io/npm/v/nativescript-hijri.svg)](https://www.npmjs.com/package/nativescript-hijri)\n[![npm](https://img.shields.io/npm/dt/nativescript-hijri.svg?label=npm%20downloads)](https://www.npmjs.com/package/nativescript-hijri)\n[![twitter: @rakhayyat](https://img.shields.io/badge/twitter-%40rakhayyat-2F98C1.svg)](https://twitter.com/rakhayyat)\n\n[![NPM](https://nodei.co/npm/nativescript-hijri.png?downloads=true\u0026downloadRank=true\u0026stars=true)](https://nodei.co/npm/nativescript-hijri/)\n\n# Nativescript Hijri plugin\nThis plugin is inspired by https://github.com/arabiaweather/hijri-date\n\n# Nativescript-hijri\n\nHijri plugin allow you to convert gregorian date to islamic hijri date. \n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://github.com/rkhayyat/nativescript-hijri/blob/master/screenshot/nativescript-hijri.gif\" width=\"300\"/\u003e\n\u003c/p\u003e\n\n## Installation\n\n```javascript\ntns plugin add nativescript-hijri\n```\n\n## Usage \n\n## Typescript NativeScript\n\n### main-view-model\n```typescript\nimport {Observable} from 'data/observable';\nimport {Hijri, islamicDateObject} from 'nativescript-hijri';\n\n\nexport class HelloWorldModel extends Observable {\n  public message: string;\n  private hijri: Hijri;\n\n  constructor() {\n    super();\n\n    this.hijri = new Hijri(new Date,0);\n    this.message = this.hijri.hijri_en.dayOfWeekText;\n    console.dir(this.hijri.hijri_en);\n\n  }\n}\n```\n\n## API\n\n### Methods\n\n| Method | Return | Description |\n| --- | --- | --- |\n| `hijri_ar` | `Object:islamicDateObject` | Accepts 2 Arguments Date , Date Adjustment by days.\u003cbr\u003e return Object of islamicDateObject where day and month are written in arabic alphabet.|\n| `hijri_en`| `Object:islamicDateObject` | Accepts 2 Arguments Date , Date Adjustment by days.\u003cbr\u003e return Object of islamicDateObject where day and month are written in English alphabet. |\n\n## NativeBaguette 🥖\n\n[\u003cimg alt=\"Rachid Al Kayat\" src=\"https://avatars1.githubusercontent.com/u/10686043?v=3\u0026s=400\" width=\"117\"\u003e](https://github.com/rkhayyat) |\n:---: |\n[rkhayyat](https://github.com/rkhayyat)  |\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frkhayyat%2Fnativescript-hijri","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frkhayyat%2Fnativescript-hijri","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frkhayyat%2Fnativescript-hijri/lists"}