{"id":46613804,"url":"https://github.com/proohit/camtjs","last_synced_at":"2026-03-07T19:07:18.299Z","repository":{"id":63089656,"uuid":"564937746","full_name":"proohit/camtjs","owner":"proohit","description":"JS package to work with CAMT transactions","archived":false,"fork":false,"pushed_at":"2022-11-16T10:59:36.000Z","size":456,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-29T23:17:31.991Z","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/proohit.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-11-11T21:33:23.000Z","updated_at":"2022-11-11T21:46:51.000Z","dependencies_parsed_at":"2023-01-23T10:30:12.473Z","dependency_job_id":null,"html_url":"https://github.com/proohit/camtjs","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/proohit/camtjs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/proohit%2Fcamtjs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/proohit%2Fcamtjs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/proohit%2Fcamtjs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/proohit%2Fcamtjs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/proohit","download_url":"https://codeload.github.com/proohit/camtjs/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/proohit%2Fcamtjs/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30226872,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-07T19:01:10.287Z","status":"ssl_error","status_checked_at":"2026-03-07T18:59:58.103Z","response_time":53,"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":[],"created_at":"2026-03-07T19:07:17.748Z","updated_at":"2026-03-07T19:07:18.292Z","avatar_url":"https://github.com/proohit.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# camtjs\n\n![npm version](https://img.shields.io/npm/v/camtjs)\n![npm total downloads](https://img.shields.io/npm/dt/camtjs)\n[![Maintainability Rating](https://sonarcloud.io/api/project_badges/measure?project=proohit_camtjs\u0026metric=sqale_rating)](https://sonarcloud.io/summary/new_code?id=proohit_camtjs)\n[![coverage](https://codecov.io/gh/proohit/camtjs/branch/master/graph/badge.svg?token=QYOGLSBELR)](https://codecov.io/gh/proohit/camtjs)\n[![Bugs](https://sonarcloud.io/api/project_badges/measure?project=proohit_camtjs\u0026metric=bugs)](https://sonarcloud.io/summary/new_code?id=proohit_camtjs)\n![Known Vulnerabilities](https://snyk.io/test/github/proohit/camtjs/badge.svg)\n\nJS package to work with Camt transactions.\n\n:warning: Still work in progress. :warning:\n\n## Features\n\n- [ ] Camt052 (WIP)\n- [ ] Camt053\n- [ ] Validation\n\nThe Camt052 implementation is currently based on V10, but may work for e.g. V8 as well.\n\nFor easier working inside JS, the camt tags are renamed to their description according to [ISO 20022](https://www.iso20022.org/iso-20022-message-definitions?business-domain%5B0%5D=1\u0026search=Bank-to-Customer%20Cash%20Management). For instance `BkToCstmrAcctRpt.Rpt.Ntry` is renamed to `messageRoot.report.entry`.\n\n## Installation\n\n```bash\nnpm i camtjs\n```\n\nNatively supported in node. For browser there are polyfills needed, because of the underlying `xml2js`. I tested it with `nextjs` and `vite`, which both worked out of the box.\n\n## Usage\n\n```ts\nimport { Camt052 } from 'camtjs';\n\nconst camt052 = await Camt052.parseCamt('your camt xml');\n\n// You then have access to the complete Camt052 document tree\nconsole.log(camt052.document.messageRoot.report.entry);\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fproohit%2Fcamtjs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fproohit%2Fcamtjs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fproohit%2Fcamtjs/lists"}