1.2.4 • Published 1 year ago
@gerritkit/native v1.2.4
@gerritkit/native
Native gerrit client auto-generated by official gerrit docs
Install
yarn add @gerritkit/native
Usage
import { GerritNative } from "@gerritkit/native";
(async () => {
const gerrit = new GerritNative("https://review.gerrithub.io", {
username: "username",
password: "<your password>"
})
const changes = await gerrit.changeEndpoints.queryChanges({
params: {
q: "owner:your_name"
}
})
changes.forEach(change => console.log(change.project))
})();