{"id":20464077,"url":"https://github.com/fullstack-development/pab-api-js","last_synced_at":"2025-04-13T08:38:29.948Z","repository":{"id":40484966,"uuid":"394889595","full_name":"fullstack-development/pab-api-js","owner":"fullstack-development","description":"PAB API JavaScript wrapper","archived":false,"fork":false,"pushed_at":"2022-06-23T19:12:10.000Z","size":204,"stargazers_count":5,"open_issues_count":1,"forks_count":5,"subscribers_count":6,"default_branch":"main","last_synced_at":"2025-03-27T00:13:21.537Z","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":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fullstack-development.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":"2021-08-11T06:43:31.000Z","updated_at":"2022-06-21T07:32:07.000Z","dependencies_parsed_at":"2022-09-18T19:13:28.553Z","dependency_job_id":null,"html_url":"https://github.com/fullstack-development/pab-api-js","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/fullstack-development%2Fpab-api-js","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fullstack-development%2Fpab-api-js/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fullstack-development%2Fpab-api-js/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fullstack-development%2Fpab-api-js/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fullstack-development","download_url":"https://codeload.github.com/fullstack-development/pab-api-js/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248685148,"owners_count":21145215,"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-11-15T13:13:57.642Z","updated_at":"2025-04-13T08:38:29.917Z","avatar_url":"https://github.com/fullstack-development.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# pab-api-js\n\nJavaScript wrapper for PAB (Plutus Application Backend) API. Works in both the browser and on Node.js. Includes TypeScript types definitions.\n\n## Installation\n\n```bash\n  npm install --save git+https://github.com/fullstack-development/pab-api-js.git\n```\n\n## Usage\n\n```javascript\nimport { Pab } from 'pab-api-js';\n\nconst pab = new Pab('http://localhost:9080/');\n\nconst getReport = async () =\u003e {\n  try {\n    const result = await pab.getFullReport();\n    console.log(result);\n  } catch (error) {\n    console.log(error);\n  }\n};\n\ngetReport();\n\n```\n\n## Development\n\nTo bundle the result code, run\n\n```bash\n  npm run build\n```\n\nTo format code (in folder src)\n\n```bash\n  npm run format\n```\n\nFor tests, you first need to run PAB with any contract\n\n```bash\n  npm run test\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffullstack-development%2Fpab-api-js","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffullstack-development%2Fpab-api-js","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffullstack-development%2Fpab-api-js/lists"}