Skip to content
Projets

amplitude/Amplitude-TypeScript

Voir sur GitHub

À propos

TypeScript Amplitude Analytics SDK

Outils de développement

Comment ces chiffres sont mesurés

Progression mesurée des étoiles

in 24h
0
in 7 days
0
in 15 days
0
in 1 month
0

Variations nettes sur des périodes qui se chevauchent, pas des totaux quotidiens. Les mesures absentes restent vides. Les étoiles indiquent l’intérêt, pas la qualité.

README.md

Original


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.

  1. Clone GitHub repo
  2. Install dependencies
  3. 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

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.

Explorer des projets similaires

Chargement…