Origami Repo Data Client (Node.js)
A Node.js client for the Origami Repo Data service.license
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 - LicenceUsage
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.*/
.