New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

astash

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

astash

REST Client for Atlassian Stash

  • 0.2.3
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

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

FAQs

Package last updated on 25 Mar 2014

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc