{"id":48038947,"url":"https://github.com/dnrovs/rntrc-js","last_synced_at":"2026-04-04T14:04:58.008Z","repository":{"id":307545232,"uuid":"1014351168","full_name":"dnrovs/rntrc-js","owner":"dnrovs","description":"Library for decoding and generating Ukrainian taxpayer identification numbers","archived":false,"fork":false,"pushed_at":"2025-07-31T19:11:53.000Z","size":174,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-09-01T23:47:19.101Z","etag":null,"topics":["ipn","rnokpp","tax","tin","ukraine"],"latest_commit_sha":null,"homepage":"https://dnrovs.github.io/rntrc-js/","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/dnrovs.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","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,"zenodo":null}},"created_at":"2025-07-05T14:49:40.000Z","updated_at":"2025-07-31T19:11:56.000Z","dependencies_parsed_at":"2025-07-31T22:14:10.102Z","dependency_job_id":null,"html_url":"https://github.com/dnrovs/rntrc-js","commit_stats":null,"previous_names":["dnrovs/rntrc-js"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/dnrovs/rntrc-js","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dnrovs%2Frntrc-js","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dnrovs%2Frntrc-js/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dnrovs%2Frntrc-js/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dnrovs%2Frntrc-js/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dnrovs","download_url":"https://codeload.github.com/dnrovs/rntrc-js/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dnrovs%2Frntrc-js/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31402277,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-04T10:20:44.708Z","status":"ssl_error","status_checked_at":"2026-04-04T10:20:06.846Z","response_time":60,"last_error":"SSL_read: 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":["ipn","rnokpp","tax","tin","ukraine"],"created_at":"2026-04-04T14:04:57.138Z","updated_at":"2026-04-04T14:04:57.985Z","avatar_url":"https://github.com/dnrovs.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# rntrc-js\n\n![NPM Version](https://img.shields.io/npm/v/rntrc?style=flat)\n![GitHub Actions Workflow Status](https://img.shields.io/github/actions/workflow/status/dnrovs/rntrc-js/ci-cd.yml?style=flat)\n![NPM Last Update](https://img.shields.io/npm/last-update/rntrc?style=flat)\n![NPM Downloads](https://img.shields.io/npm/d18m/rntrc?style=flat)\n\nLibrary for decoding and generating Ukrainian taxpayer identification numbers.\n\n**[Documentation](https://dnrovs.github.io/rntrc-js/)** | **[RNTRC on Ukrainian Wikipedia](https://uk.wikipedia.org/wiki/Реєстраційний_номер_облікової_картки_платника_податків)**\n\n## Installation\n```\nnpm i rntrc\n```\n\n## Importing\n### ES Modules\n```javascript\nimport Rntrc from 'rntrc'\n```\n### CommonJS\n```javascript\nconst Rntrc = require('rntrc')\n```\n### Browser (CDN)\n```html\n\u003cscript src=\"https://unpkg.com/rntrc@1/dist/index.umd.js\"\u003e\u003c/script\u003e\n```\n### Browser (module)\n```html\n\u003cscript type=\"module\"\u003e\n    import Rntrc from 'https://unpkg.com/rntrc@1/dist/index.js'\n\u003c/script\u003e\n```\n\n## Usage\n### Decoding\n```javascript\nconst instance = new Rntrc(1234567899)\n\nconsole.log(\n    instance.birthdate().toLocaleDateString(),\n    instance.gender()\n)\n```\n### Generating\n```javascript\nconst generated = Rntrc.generate({\n    month: 4,\n    gender: 'male'\n})\n\nconsole.log(generated)\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdnrovs%2Frntrc-js","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdnrovs%2Frntrc-js","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdnrovs%2Frntrc-js/lists"}