Skip to content

grptx/gx-redmine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ES7 async wrapper for node-redmine package

This is a wrapper for the node-redmine package in NPM that can be used with the ES7 async-await pattern, instead of using callbacks.

Documentation

For all documentation, please see the documentation for the node-redmine package and from Redmine's REST API.

Installation

To install gx-redmine, simply:

npm install gx-redmine

Usage

import RedmineAsync = require("gx-redmine");

const hostname = process.env.REDMINE_HOST || 'http://localhost';
const config = {
  apiKey: process.env.REDMINE_APIKEY || '<your_redmine_rest_key>'
};
const redmine = new RedmineAsync(hostname, config);

// retrieve issues
const issues = await redmine.issues({limit: 2});

Supported features for Redmine REST API

Resource Status Availability Supported
Issues Stable 1.0
Projects Stable 1.0
Project Memberships Alpha 1.4
Users Stable 1.1
Time Entries Stable 1.1
News Prototype 1.1
Issue Relations Alpha 1.3
Versions Alpha 1.3
Wiki Pages Alpha 2.2
Queries Alpha 1.3
Attachments Beta 1.3
Issue Statuses Alpha 1.3
Trackers Alpha 1.3
Enumerations Alpha 2.2
Issue Categories Alpha 1.3
Roles Alpha 1.4
Groups Alpha 2.1
Custom Fields Alpha 2.4
Search Alpha 3.3 N/A

Feedback

Feedback, bug reports and pull requests are welcome. See the linked github repository.

Links

Notice

  • node-redmine only supports using the JSON format.

version

0.1.11

About

Typescript wrapper for Axios Redmine Client

Resources

Stars

Watchers

Forks

Packages

No packages published