
Security News
Meet Socket at Black Hat and DEF CON 2025 in Las Vegas
Meet Socket at Black Hat & DEF CON 2025 for 1:1s, insider security talks at Allegiant Stadium, and a private dinner with top minds in software supply chain security.
@atlassian/bitbucket-server
Advanced tools
Bitbucket Server API client for Browser and Node.js
This is a port of the excellent bitbucket library by Munif Tanjim: https://github.com/MunifTanjim/node-bitbucket
Bitbucket Server API docs: https://docs.atlassian.com/bitbucket-server/rest/latest/bitbucket-rest.html
via npm:
$ npm install @atlassian/bitbucket-server --save
via yarn:
$ yarn add @atlassian/bitbucket-server
const BitbucketServer = require('@atlassian/bitbucket-server')
const BitbucketServer = new BitbucketServer()
You can set the APIs' baseUrl
and modify some behaviors (e.g. request timeout etc.) by passing a clientOptions object to the BitbucketServer
constructor.
const clientOptions = {
baseUrl: 'https://<server base url>',
headers: {},
options: {
timeout: 10
}
}
const client = new BitbucketServer(clientOptions)
This enables you to use the client with Bitbucket Server.
Basic
client.authenticate({
type: 'basic',
username: 'username',
password: 'password'
})
OAuth
client.authenticate({
type: 'token',
token: 'access token'
})
FAQs
Bitbucket Server API client for Browser and Node.js
The npm package @atlassian/bitbucket-server receives a total of 263 weekly downloads. As such, @atlassian/bitbucket-server popularity was classified as not popular.
We found that @atlassian/bitbucket-server demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 19 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Meet Socket at Black Hat & DEF CON 2025 for 1:1s, insider security talks at Allegiant Stadium, and a private dinner with top minds in software supply chain security.
Security News
CAI is a new open source AI framework that automates penetration testing tasks like scanning and exploitation up to 3,600× faster than humans.
Security News
Deno 2.4 brings back bundling, improves dependency updates and telemetry, and makes the runtime more practical for real-world JavaScript projects.