{"id":27170979,"url":"https://github.com/mharj/creditor-reference","last_synced_at":"2025-04-09T08:14:11.386Z","repository":{"id":46991053,"uuid":"160920212","full_name":"mharj/creditor-reference","owner":"mharj","description":"creditor reference code builder and verification","archived":false,"fork":false,"pushed_at":"2025-03-27T07:10:03.000Z","size":560,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-27T08:24:01.426Z","etag":null,"topics":["creditor-reference","typescript"],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mharj.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-12-08T08:37:33.000Z","updated_at":"2025-03-27T07:07:55.000Z","dependencies_parsed_at":"2025-03-27T08:33:58.118Z","dependency_job_id":null,"html_url":"https://github.com/mharj/creditor-reference","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/mharj%2Fcreditor-reference","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mharj%2Fcreditor-reference/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mharj%2Fcreditor-reference/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mharj%2Fcreditor-reference/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mharj","download_url":"https://codeload.github.com/mharj/creditor-reference/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247999864,"owners_count":21031046,"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":["creditor-reference","typescript"],"created_at":"2025-04-09T08:14:10.935Z","updated_at":"2025-04-09T08:14:11.383Z","avatar_url":"https://github.com/mharj.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Bill Reference code build and validation ![CI](https://github.com/mharj/creditor-reference/actions/workflows/main.yml/badge.svg) [![Maintainability](https://api.codeclimate.com/v1/badges/133d7273f46a087fba52/maintainability)](https://codeclimate.com/github/mharj/creditor-reference/maintainability) [![Test Coverage](https://api.codeclimate.com/v1/badges/6613d01045f626d38df7/test_coverage)](https://codeclimate.com/github/mharj/creditor-reference/test_coverage)\n\n\n```javascript\nconsole.log(build('99999 88888 77777 6666', 'FI'));\nconsole.log(build('11111 22222 33333 44444 5', 'ISO'));\n\nif (verify('RF39111112222233333444445') === true) {\n}\nif (verify('99999888887777766668') === true) {\n}\n\nif (type('RF32S0METE5T') === 'ISO') {\n}\nif (type('99999888887777766668') === 'FI') {\n}\n```\n\n### NpmJS\n\n```typescript\nimport {verify} from 'creditor-reference';\nconsole.log('verify', verify('RF39111112222233333444445'));\n```\n\n### Browser ESM\n\n```html\n\u003chtml\u003e\n\t\u003chead\u003e\u003c/head\u003e\n\t\u003cbody\u003e\n\t\t\u003cscript type=\"module\"\u003e\n\t\t\timport {verify} from 'https://unpkg.com/creditor-reference@latest/dist/index.mjs';\n\t\t\tconsole.log('verify', verify('RF39111112222233333444445'));\n\t\t\u003c/script\u003e\n\t\u003c/body\u003e\n\u003c/html\u003e\n```\n\n### Browser UMD (Legacy browsers, 0.1.6 last UMD build)\n\n```html\n\u003chtml\u003e\n\t\u003chead\u003e\n\t\t\u003cscript crossorigin=\"anonymous\" src=\"https://unpkg.com/creditor-reference@0.1.6/dist/umd/index.js\"\u003e\u003c/script\u003e\n\t\u003c/head\u003e\n\t\u003cbody\u003e\n\t\t\u003cscript\u003e\n\t\t\tconsole.log('verify', CreditorReference.verify('RF39111112222233333444445'));\n\t\t\u003c/script\u003e\n\t\u003c/body\u003e\n\u003c/html\u003e\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmharj%2Fcreditor-reference","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmharj%2Fcreditor-reference","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmharj%2Fcreditor-reference/lists"}