amplitude/Amplitude-TypeScript
关于
TypeScript Amplitude Analytics SDK
开发工具实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 0
- 1个月
- 0
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文Amplitude-TypeScript
This is Amplitude's latest version of the JavaScript SDK, written in TypeScript.
Development
If you plan on contributing to this SDK, here's how you can start.
- Clone GitHub repo
- Install dependencies
- Build and link packages
$ git clone [email protected]:amplitude/Amplitude-TypeScript.git
$ nvm use
$ pnpm --version
$ pnpm install
$ pnpm build
Check our guidelines for repo contributions on CONTRIBUTING.md.
Projects
- Amplitude SDK for Web
- Amplitude SDK for Node.js
- Amplitude SDK for React Native
Testing Locally
To test the SDK locally, you can run our test server.
Before running the test server for the first time, copy ".env.example" as ".env" and replace the variables in '.env' with your own variables.
Run pnpm dev to run the test server. It will open up to the home page automatically in your default browser.
For more details visit the Test Server README.md
Troubleshooting
If you ever see an error that looks like this while running an Nx command (pnpm test, pnpm build, etc...):
Lerna (powered by Nx) DB transaction operation error: SqliteFailure(Error { code: SystemIoFailure, extended_code: 522 }, Some("disk I/O error"))
Run npx nx reset and try again
Documentation
See the Amplitude SDK documentation for install guides and API references for each SDK.
探索相关项目
加载中…