0.1.2 • Published 5 years ago

crucible-connector v0.1.2

Weekly downloads
4
License
MIT
Repository
github
Last release
5 years ago

Crucible Connector

A typed JavaScript REST client for Atlassian's Crucible.

NOTICE: This package is currently under heavy development and not yet much tested (coming soon).

Features

More details about the API can be found at the Crucible REST API Guide.

Requirements

This implementation uses the REST API version 4.7.

Installation

npm install --save crucible-connector

Usage

Create your REST client.

const connector = new Connector(
  { host: 'https://crucible.example.com:443', ignoreSslError: false },
  { username: 'user', password: 'password' }
);

Now start to communicate via common, crucible and fisheye:

connector.crucible
  .searchRepositories({ types: ['git'] })
  .then((result) => {
    console.log(result.repoData.map((repo) => repo.name).join(', '));
  })
  .catch((error) => {
    console.log(error);
  });

Acknowledgements

This package uses Microsoft Typed REST Client as underlying REST Client.

Contributors

Matthias Füg

Feel free to contribute...

License

MIT

0.1.2

5 years ago

0.1.1

5 years ago

0.0.7

5 years ago

0.0.5

5 years ago

0.0.4

5 years ago

0.0.3

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago

0.0.0

5 years ago