0.2.3 • Published 10 years ago

astash v0.2.3

Weekly downloads
3
License
BSD
Repository
github
Last release
10 years ago

AStash for Node

Provides an (incomplete) node library for communicating with Atlassian Stash.

Quick Resources

BranchBuild StatusCoffee Docs
developDevelop Build StatusCoffee Docs
masterMaster Build StatusCoffee Docs

Overview

This library provides little over the direct Stash REST API, however the little it provides makes your life so much easier.

The two primary features are:

  • Q promsies for code legibility
  • Automatic handling of paged requests for iterator/generator style access

Example

# Look at all open pull requests for MYPROJ/myrepo
promise = stash.eachPullRequest "MYPROJ", "myrepo", (pr) ->
  pr.canMerge().done () ->
    pr.attemptMerge()

promise.done(-> console.log('Finished processing requests'))

Documentation

0.2.3

10 years ago

0.2.1

10 years ago

2.0.1

10 years ago

0.2.0

10 years ago

0.1.2

10 years ago

0.1.1

10 years ago

0.1.0

10 years ago

0.0.1

11 years ago

0.0.0

11 years ago