{"id":23752760,"url":"https://github.com/ziv/idil","last_synced_at":"2026-03-14T21:30:14.880Z","repository":{"id":57271237,"uuid":"285249137","full_name":"ziv/idil","owner":"ziv","description":"Israeli ID number utilities","archived":false,"fork":false,"pushed_at":"2020-09-08T09:37:58.000Z","size":280,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-10-18T09:05:19.178Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/ziv.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":"2020-08-05T09:59:15.000Z","updated_at":"2020-09-08T09:38:00.000Z","dependencies_parsed_at":"2022-09-01T00:22:06.223Z","dependency_job_id":null,"html_url":"https://github.com/ziv/idil","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ziv%2Fidil","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ziv%2Fidil/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ziv%2Fidil/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ziv%2Fidil/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ziv","download_url":"https://codeload.github.com/ziv/idil/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239921843,"owners_count":19718844,"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":[],"created_at":"2024-12-31T17:55:38.911Z","updated_at":"2026-03-14T21:30:14.825Z","avatar_url":"https://github.com/ziv.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# idil\n\nIsraeli ID number utilities\n\nInstallation:\n```\nnpm i idil\nyarn add idil\n```\n\nUsage:\n* Generate check digit for given Israeli ID number\n```typescript\nimport {generate} from 'idil';\n\nconst checkDigit = generate('12345678');\n```\n\n* Validate ID number\n```typescript\nimport {validate} from 'idil';\n\n// using id with check digit\nif (validate('123456782')) {\n    // id is valid\n}\n\nif (validate('12345678', 2)) {\n    // is is valid\n}\n```\n\n---\n\n* Contain type definition for TypeScript\n* MIT License\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fziv%2Fidil","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fziv%2Fidil","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fziv%2Fidil/lists"}