TypeScript client library for Bitbucket Server/Data Center REST API, version 1.4.33. Maintained as of 2025. Provides typed HTTP client wrappers with full TypeScript declarations for the Bitbucket Data Center REST API. Differentiates from generic HTTP clients by offering auto-completion, error handling, and pagination support natively. Currently in active development with monthly releases.
npm install bitbucket-data-center-clientNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Initialize client with basic auth and list all projects.
Ensure baseUrl ends without a slash, e.g., https://your-bitbucket-server.com
Migrate to token-based auth using the auth.token property.
Update Node.js to version 22 or later.
Ensure you call new BitbucketClient() with valid config and check the API path exists.
Verify username and password or token are correct.
Convert to ES module or use dynamic import: const client = await import('bitbucket-data-center-client');