REST Client for Atlassian's Stash repository

npm install atlas-stash
15 downloads in the last week
23 downloads in the last month


REST Client for Atlassian's Stash

This is still in progress and so the API should be considered unstabled, but it's in a good enough shape to start playing with.


var StashApi = require("atlas-stash").StashApi;

var user = "username",
    password = "password",
    stash = new StashApi("https", "", null, user, password);

var projects = stash.projects();
projects.on("error", function (error){
}).on("allPages", function(allPages) {
    console.log("All Pages", allPages);

stash.repos("PEPPER").on("allPages", function(repos) {
    console.log("Repos: ", repos);
npm loves you