@financial-times/origami-repo-data-client

A Node.js client for the Origami Repo Data service

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
@financial-times/origami-repo-data-client
001.7.26 months ago6 years agoMinified + gzip package size for @financial-times/origami-repo-data-client in KB

Readme

Origami Repo Data Client (Node.js)
A Node.js client for the Origami Repo Data service.
NPM version MIT licensedlicense
const RepoDataClient = require('@financial-times/origami-repo-data-client');

const repoData = new RepoDataClient({
    apiKey: 'xxxXxXxX-XXXX-XXXX-xXXx-xxxXXXxXXXXX',
    apiSecret: 'xxXXXxxXXXXXXXXXxxxxxxxXXXxXxXXXXXXxxXXx'
});

const repos = await repoData.listRepos();

Table Of Contents

- Usage - Contributing - Publishing - Support and Migration - Contact - Licence

Usage

Using this module requires Node.js 6.x and npm. You can install with:
npm install @financial-times/origami-repo-data-client

The full API documentationapi-docs explains how to use this module.

Contributing

This module has a full suite of unit tests, and is verified with ESLint. You can use the following commands to check your code before opening a pull request:
make verify  # verify JavaScript code with ESLint
make test    # run the unit tests and check coverage

Publishing

New versions of the module are published automatically by CI when a new tag is created matching the pattern /v.*/.

Contact

If you have any questions or comments about this module, or need help using it, please either raise an issueissues, visit #origami-support or email Origami Support.

Licence

This software is published by the Financial Times under the MIT licencelicense.