Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

jira-got

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jira-got

Convenience wrapper for `got` to interact with the Jira API

  • 0.2.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

jira-got

Travis Code Climate Codecov NPM Version NPM Downloads

Convenience wrapper for got to interact with the Jira API

Install

$ npm install --save jira-got

Usage

import jira from 'jira-got';

jira('user?username=angus', { token: 'foo' }).then(res => {
  console.log(res.body.name);
  //=> 'angus'
});

API

Same as got (including the stream API and aliases), but with some additional options:

  • token

    Base64 encoded Jira username and password (echo -n username:password | base64).

    Can be set globally with the JIRA_USERNAME and JIRA_PASSWORD environment variables.

  • endpoint

    Default: https://jira.atlassian.com/rest/api/latest/

    Can be set globally with the JIRA_ENDPOINT environment variable.

License

The MIT License (MIT)

Copyright (c) 2016 Angus Fretwell

FAQs

Package last updated on 27 Apr 2016

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