{"id":16077972,"url":"https://github.com/anthropics/anthropic-sdk-typescript","last_synced_at":"2026-05-19T09:02:11.722Z","repository":{"id":65609537,"uuid":"595176353","full_name":"anthropics/anthropic-sdk-typescript","owner":"anthropics","description":"Access to Anthropic's safety-first language model APIs in TypeScript","archived":false,"fork":false,"pushed_at":"2026-05-18T22:33:45.000Z","size":4759,"stargazers_count":1949,"open_issues_count":99,"forks_count":327,"subscribers_count":164,"default_branch":"main","last_synced_at":"2026-05-18T22:46:01.483Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/@anthropic-ai/sdk","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/anthropics.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":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-01-30T14:58:08.000Z","updated_at":"2026-05-18T18:08:03.000Z","dependencies_parsed_at":"2023-11-16T02:30:50.523Z","dependency_job_id":"61d79165-3fde-4537-b224-18792cc63058","html_url":"https://github.com/anthropics/anthropic-sdk-typescript","commit_stats":{"total_commits":48,"total_committers":2,"mean_commits":24.0,"dds":0.02083333333333337,"last_synced_commit":"493075d70f50f1568a276ed0cb177e297f5fef9f"},"previous_names":[],"tags_count":277,"template":false,"template_full_name":null,"purl":"pkg:github/anthropics/anthropic-sdk-typescript","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anthropics%2Fanthropic-sdk-typescript","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anthropics%2Fanthropic-sdk-typescript/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anthropics%2Fanthropic-sdk-typescript/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anthropics%2Fanthropic-sdk-typescript/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/anthropics","download_url":"https://codeload.github.com/anthropics/anthropic-sdk-typescript/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anthropics%2Fanthropic-sdk-typescript/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33209405,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-19T07:54:09.561Z","status":"ssl_error","status_checked_at":"2026-05-19T07:54:08.508Z","response_time":58,"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":"2024-10-09T10:05:36.297Z","updated_at":"2026-05-19T09:02:11.686Z","avatar_url":"https://github.com/anthropics.png","language":"TypeScript","funding_links":[],"categories":["TypeScript","API Wrappers","others","API \u0026 SDKs","Model SDKs","🏢 Official Anthropic Resources","AI \u0026 LLM Integration","🤖 AI \u0026 Machine Learning","2. Libraries \u0026 Frameworks"],"sub_categories":["TypeScript","Official SDKs","🔧 SDKs \u0026 Development Tools","JavaScript / TypeScript"],"readme":"# \u003cimg src=\".github/logo.svg\" alt=\"\" width=\"32\"\u003e Claude SDK for TypeScript\n\n[![NPM version](https://img.shields.io/npm/v/@anthropic-ai/sdk.svg)](https://npmjs.org/package/@anthropic-ai/sdk)\n\nThe Claude SDK for TypeScript provides access to the [Claude API](https://docs.anthropic.com/en/api/) from server-side TypeScript or JavaScript applications.\n\n## Documentation\n\nFull documentation is available at **[platform.claude.com/docs/en/api/sdks/typescript](https://platform.claude.com/docs/en/api/sdks/typescript)**.\n\n## Installation\n\n```sh\nnpm install @anthropic-ai/sdk\n```\n\n## Getting started\n\n```js\nimport Anthropic from '@anthropic-ai/sdk';\n\nconst client = new Anthropic({\n  apiKey: process.env['ANTHROPIC_API_KEY'], // This is the default and can be omitted\n});\n\nconst message = await client.messages.create({\n  max_tokens: 1024,\n  messages: [{ role: 'user', content: 'Hello, Claude' }],\n  model: 'claude-opus-4-6',\n});\n\nconsole.log(message.content);\n```\n\n## Requirements\n\nNode.js 18+\n\n## Contributing\n\nSee [CONTRIBUTING.md](./CONTRIBUTING.md).\n\n## License\n\nThis project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanthropics%2Fanthropic-sdk-typescript","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fanthropics%2Fanthropic-sdk-typescript","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanthropics%2Fanthropic-sdk-typescript/lists"}