@robinpath/bitbucket
Advanced tools
+119
| # @robinpath/bitbucket | ||
| > Bitbucket module for RobinPath. | ||
|     | ||
| ## Why use this module? | ||
| The `bitbucket` module lets you: | ||
| - listRepositories | ||
| - getRepository | ||
| - createRepository | ||
| - deleteRepository | ||
| - listBranches | ||
| All functions are callable directly from RobinPath scripts with a simple, consistent API. | ||
| ## Installation | ||
| ```bash | ||
| npm install @robinpath/bitbucket | ||
| ``` | ||
| ## Quick Start | ||
| **1. Set up credentials** | ||
| ```robinpath | ||
| bitbucket.setCredentials "your-credentials" | ||
| ``` | ||
| **2. listRepositories** | ||
| ```robinpath | ||
| bitbucket.listRepositories | ||
| ``` | ||
| ## Available Functions | ||
| | Function | Description | | ||
| |----------|-------------| | ||
| | `bitbucket.setCredentials` | Configure bitbucket credentials. | | ||
| | `bitbucket.listRepositories` | listRepositories | | ||
| | `bitbucket.getRepository` | getRepository | | ||
| | `bitbucket.createRepository` | createRepository | | ||
| | `bitbucket.deleteRepository` | deleteRepository | | ||
| | `bitbucket.listBranches` | listBranches | | ||
| | `bitbucket.createBranch` | createBranch | | ||
| | `bitbucket.deleteBranch` | deleteBranch | | ||
| | `bitbucket.listPullRequests` | listPullRequests | | ||
| | `bitbucket.getPullRequest` | getPullRequest | | ||
| | `bitbucket.createPullRequest` | createPullRequest | | ||
| | `bitbucket.updatePullRequest` | updatePullRequest | | ||
| | `bitbucket.mergePullRequest` | mergePullRequest | | ||
| | `bitbucket.declinePullRequest` | declinePullRequest | | ||
| | `bitbucket.listCommits` | listCommits | | ||
| | `bitbucket.listPipelines` | listPipelines | | ||
| | `bitbucket.getPipeline` | getPipeline | | ||
| | `bitbucket.triggerPipeline` | triggerPipeline | | ||
| | `bitbucket.listIssues` | listIssues | | ||
| | `bitbucket.createIssue` | createIssue | | ||
| | `bitbucket.listWorkspaces` | listWorkspaces | | ||
| | `bitbucket.getWorkspace` | getWorkspace | | ||
| | `bitbucket.listWebhooks` | listWebhooks | | ||
| | `bitbucket.getUser` | getUser | | ||
| | `bitbucket.listDeployments` | listDeployments | | ||
| ## Examples | ||
| ### listRepositories | ||
| ```robinpath | ||
| bitbucket.listRepositories | ||
| ``` | ||
| ### getRepository | ||
| ```robinpath | ||
| bitbucket.getRepository | ||
| ``` | ||
| ### createRepository | ||
| ```robinpath | ||
| bitbucket.createRepository | ||
| ``` | ||
| ## Integration with RobinPath | ||
| ```typescript | ||
| import { RobinPath } from "@wiredwp/robinpath"; | ||
| import Module from "@robinpath/bitbucket"; | ||
| const rp = new RobinPath(); | ||
| rp.registerModule(Module.name, Module.functions); | ||
| rp.registerModuleMeta(Module.name, Module.functionMetadata); | ||
| const result = await rp.executeScript(` | ||
| bitbucket.setCredentials "your-credentials" | ||
| bitbucket.listRepositories | ||
| `); | ||
| ``` | ||
| ## Full API Reference | ||
| See [MODULE.md](./MODULE.md) for complete documentation including all parameters, return types, error handling, and advanced examples. | ||
| ## Related Modules | ||
| - [`@robinpath/docker`](../docker) — Docker module for complementary functionality | ||
| - [`@robinpath/git`](../git) — Git module for complementary functionality | ||
| - [`@robinpath/github`](../github) — GitHub module for complementary functionality | ||
| - [`@robinpath/gitlab`](../gitlab) — GitLab module for complementary functionality | ||
| - [`@robinpath/vercel`](../vercel) — Vercel module for complementary functionality | ||
| ## License | ||
| MIT |
+1
-1
| { | ||
| "name": "@robinpath/bitbucket", | ||
| "version": "0.1.0", | ||
| "version": "0.1.1", | ||
| "publishConfig": { | ||
@@ -5,0 +5,0 @@ "access": "public" |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
AI-detected possible typosquat
Supply chain riskAI has identified this package as a potential typosquat of a more popular package. This suggests that the package may be intentionally mimicking another package's name, description, or other metadata.
Found 1 instance in 1 package
No README
QualityPackage does not have a README. This may indicate a failed publish or a low quality package.
Found 1 instance in 1 package
39637
9.04%10
11.11%0
-100%120
Infinity%