Installation
Basic Usage
Here’s how you can use the Dub TypeScript SDK to create a link and retrieve click analytics in timeseries format for it:- Organizing links by external ID, tenant ID, tags, etc
- Bulk link operations (create, update, delete)
- Retrieving link analytics
Frameworks
You can use the Dub TypeScript SDK with any JavaScript framework: If you’re using a different JavaScript framework, you can refer to the TypeScript SDK quickstart for a basic example.Additional Resources
NPM Package
Download and install the Dub TypeScript SDK on NPM
SDK Reference
View the complete SDK reference documentation
Examples
Quickstart examples with the TypeScript SDK
Source Code
View the complete source code for the Dub TypeScript SDK