{"id":13572939,"url":"https://github.com/polywrap/javascript-client","last_synced_at":"2025-06-29T09:04:23.604Z","repository":{"id":154522102,"uuid":"617032996","full_name":"polywrap/javascript-client","owner":"polywrap","description":null,"archived":false,"fork":false,"pushed_at":"2023-10-31T14:47:50.000Z","size":21258,"stargazers_count":3,"open_issues_count":23,"forks_count":3,"subscribers_count":3,"default_branch":"origin-dev","last_synced_at":"2025-06-05T11:06:07.841Z","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/polywrap.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2023-03-21T15:11:37.000Z","updated_at":"2024-10-08T17:03:05.000Z","dependencies_parsed_at":null,"dependency_job_id":"c50aa77e-8fe8-4b83-a3c9-2a6b8da3bcbf","html_url":"https://github.com/polywrap/javascript-client","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/polywrap/javascript-client","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/polywrap%2Fjavascript-client","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/polywrap%2Fjavascript-client/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/polywrap%2Fjavascript-client/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/polywrap%2Fjavascript-client/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/polywrap","download_url":"https://codeload.github.com/polywrap/javascript-client/tar.gz/refs/heads/origin-dev","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/polywrap%2Fjavascript-client/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260138867,"owners_count":22964692,"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-08-01T15:00:24.773Z","updated_at":"2025-06-29T09:04:23.587Z","avatar_url":"https://github.com/polywrap.png","language":"TypeScript","readme":"![polywrap-banner](https://raw.githubusercontent.com/polywrap/branding/master/assets/banner.png)\n\n# Javascript Client\n\nImplementation of the Polywrap client in JavaScript.\n\n## Installation\n```\nnpm install @polywrap/client\n# or\nyarn add @polywrap/client\n```\n\n## Getting Started\n\nCreate a new Polywrap client config builder instance, add the bundles you want to use, and then create a new Polywrap client instance with the config.\n\n```typescript\nimport { \n    PolywrapClient,\n    PolywrapClientConfigBuilder\n} from \"@polywrap/client\";\n\nconst builder = new PolywrapClientConfigBuilder();\nbuilder.addBundle(\"sys\");\nconst client = new PolywrapClient(builder.build());\n\nconst result = await client.invoke\u003cboolean\u003e({\n  uri: \"wrapscan.io/polywrap/logging@1.0.0\",\n  method: \"info\",\n  args: {\n    message: \"Hello from hello world wrap!\",\n  }\n});\n\nif (!result.ok) {\n  throw Error(\"Log message error: \" + result.error);\n}\n```\n# Resources\n- [Javascript Client Reference Documentation](https://polywrap.github.io/javascript-client/)\n- [Polywrap Documentation](https://docs.polywrap.io/)\n- [Examples](./examples/)\n- [Features supported](https://github.com/polywrap/client-readiness/tree/main/clients/js/src/features)\n\n# Support\n\nFor any questions or problems, please visit our [Discord](https://discord.polywrap.io).","funding_links":[],"categories":["Clients"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpolywrap%2Fjavascript-client","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpolywrap%2Fjavascript-client","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpolywrap%2Fjavascript-client/lists"}