{"id":18425430,"url":"https://github.com/amplitude/amplitude-typescript","last_synced_at":"2026-06-13T02:13:03.178Z","repository":{"id":37068699,"uuid":"449554700","full_name":"amplitude/Amplitude-TypeScript","owner":"amplitude","description":"TypeScript Amplitude Analytics SDK","archived":false,"fork":false,"pushed_at":"2025-05-12T22:55:56.000Z","size":17365,"stargazers_count":154,"open_issues_count":97,"forks_count":44,"subscribers_count":53,"default_branch":"main","last_synced_at":"2025-05-12T23:19:05.507Z","etag":null,"topics":["analytics","javascript","nodejs","sdk","typescript"],"latest_commit_sha":null,"homepage":"https://amplitude.github.io/Amplitude-TypeScript/","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/amplitude.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","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,"zenodo":null}},"created_at":"2022-01-19T05:07:55.000Z","updated_at":"2025-05-11T01:05:11.000Z","dependencies_parsed_at":"2023-11-02T18:30:06.247Z","dependency_job_id":"54f672eb-23ab-4634-9deb-338fcaddd3a5","html_url":"https://github.com/amplitude/Amplitude-TypeScript","commit_stats":{"total_commits":597,"total_committers":31,"mean_commits":"19.258064516129032","dds":0.6800670016750419,"last_synced_commit":"368f7d32ddf547a14395cebcc2bbc4dee477acdb"},"previous_names":[],"tags_count":1590,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amplitude%2FAmplitude-TypeScript","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amplitude%2FAmplitude-TypeScript/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amplitude%2FAmplitude-TypeScript/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amplitude%2FAmplitude-TypeScript/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/amplitude","download_url":"https://codeload.github.com/amplitude/Amplitude-TypeScript/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254219374,"owners_count":22034397,"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":["analytics","javascript","nodejs","sdk","typescript"],"created_at":"2024-11-06T05:03:53.535Z","updated_at":"2026-04-01T18:47:20.097Z","avatar_url":"https://github.com/amplitude.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://amplitude.com\" target=\"_blank\" align=\"center\"\u003e\n    \u003cimg src=\"https://static.amplitude.com/lightning/46c85bfd91905de8047f1ee65c7c93d6fa9ee6ea/static/media/amplitude-logo-with-text.4fb9e463.svg\" width=\"280\"\u003e\n  \u003c/a\u003e\n  \u003cbr /\u003e\n\u003c/p\u003e\n\n# Amplitude-TypeScript\n\nThis is Amplitude's latest version of the JavaScript SDK, written in TypeScript.\n## Development\n\nIf you plan on contributing to this SDK, here's how you can start.\n\n1. Clone GitHub repo\n2. Install dependencies\n3. Build and link packages\n\n```\n$ git clone git@github.com:amplitude/Amplitude-TypeScript.git\n$ nvm use\n$ pnpm --version\n$ pnpm install\n$ pnpm build\n```\n\nCheck our guidelines for repo contributions on [CONTRIBUTING.md](https://github.com/amplitude/Amplitude-TypeScript/blob/main/CONTRIBUTING.md).\n\n## Projects\n\n* Amplitude SDK for Web\n  * [@amplitude/analytics-browser@^2](https://github.com/amplitude/Amplitude-TypeScript/tree/main/packages/analytics-browser)\n  * [@amplitude/analytics-browser@^1](https://github.com/amplitude/Amplitude-TypeScript/tree/v1.x/packages/analytics-browser)\n  * [Installation and Quick Start](https://www.docs.developers.amplitude.com/data/sdks/browser-2/)\n* Amplitude SDK for Node.js\n  * [@amplitude/analytics-node](https://github.com/amplitude/Amplitude-TypeScript/tree/main/packages/analytics-node)\n  * [Installation and Quick Start](https://www.docs.developers.amplitude.com/data/sdks/typescript-node/)\n* Amplitude SDK for React Native\n  * [@amplitude/analytics-react-native](https://github.com/amplitude/Amplitude-TypeScript/tree/main/packages/analytics-react-native)\n  * [Installation and Quick Start](https://www.docs.developers.amplitude.com/data/sdks/typescript-react-native/)\n\n## Testing Locally\n\nTo test the SDK locally, you can run our test server.\n\nBefore running the test server for the first time, copy \".env.example\" as \".env\" and replace the variables in '.env' with your own variables.\n\nRun `pnpm dev` to run the test server. It will open up to the home page automatically in your default browser.\n\nFor more details visit the [Test Server README.md](/test-server/README.md)\n\n### Troubleshooting\n\nIf you ever see an error that looks like this while running an Nx command (pnpm test, pnpm build, etc...):\n\n```\n Lerna (powered by Nx)   DB transaction operation error: SqliteFailure(Error { code: SystemIoFailure, extended_code: 522 }, Some(\"disk I/O error\"))\n ```\n\nRun `npx nx reset` and try again\n\n## Documentation\n\nSee our [Typescript SDK](https://amplitude.github.io/Amplitude-TypeScript/) Reference for a list and description of all available SDK methods.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famplitude%2Famplitude-typescript","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Famplitude%2Famplitude-typescript","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famplitude%2Famplitude-typescript/lists"}