{"id":15065391,"url":"https://github.com/urtuba/tc-id","last_synced_at":"2026-02-13T03:02:29.782Z","repository":{"id":58636780,"uuid":"532818096","full_name":"urtuba/tc-id","owner":"urtuba","description":"Validate TC ID according to derivation rules.","archived":false,"fork":false,"pushed_at":"2022-09-09T10:11:39.000Z","size":25,"stargazers_count":1,"open_issues_count":3,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-09-08T22:45:06.421Z","etag":null,"topics":["npm-package","tc-identity","validation"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/tc-id","language":"JavaScript","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/urtuba.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":"2022-09-05T08:51:39.000Z","updated_at":"2023-10-01T14:09:18.000Z","dependencies_parsed_at":"2023-01-18T02:00:53.465Z","dependency_job_id":null,"html_url":"https://github.com/urtuba/tc-id","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/urtuba/tc-id","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/urtuba%2Ftc-id","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/urtuba%2Ftc-id/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/urtuba%2Ftc-id/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/urtuba%2Ftc-id/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/urtuba","download_url":"https://codeload.github.com/urtuba/tc-id/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/urtuba%2Ftc-id/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274231241,"owners_count":25245659,"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","status":"online","status_checked_at":"2025-09-08T02:00:09.813Z","response_time":121,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["npm-package","tc-identity","validation"],"created_at":"2024-09-25T00:37:53.761Z","updated_at":"2026-02-13T03:02:24.749Z","avatar_url":"https://github.com/urtuba.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# tc-id\n\n`tc-id` is a package to validate Turkish Citizenship Identity Numbers. You can simply use it as:\n\n```js\nimport { validateTCID } from \"tc-id\";\n\nconst id = \"YOUR_TC_ID\";\n\nconst validatedId = validateTCID(id);\n```\n\nIt throws error if validation falied. It returns its input as result. You may use function with both numbers and strings. You may include additional returnType argument, which is `\"string\"` by default. `\"number\"` is also allowed.\n\n```js\nconst id = \"YOUR_TC_ID\";\n\nconst validatedId = validateTCID(id, \"number\")\n```\n\nNOTE: It is not guaranteed to validated TC ID number is been having by someone. It is not verification, just validation works with TC_ID derivation rules.\n\n#### [MIT License](https://github.com/urtuba/turkish-id/blob/main/LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Furtuba%2Ftc-id","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Furtuba%2Ftc-id","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Furtuba%2Ftc-id/lists"}