1.0.0 • Published 6 years ago

@hmcts/feature-toggle-client v1.0.0

Weekly downloads
-
License
MIT
Repository
-
Last release
6 years ago

@hmcts/feature-toggle-client

Travis badge Codecov badge NPM version badge Node version badge Greenkeeper badge Standard - JavaScript Style Guide

This is a client library for interacting with the Feature Toggle API Feature Toggle API.

API available with clients

  • FeatureToggleService provides a thin wrapper around creating FeatureToggleClientFactory
  • FeatureToggleClientFactory is responsible for creating FeatureToggleClient
  • FeatureToggleClient is responsible for interfacing with the Feature Toggle API

To add library

$ yarn add @hmcts/feature-toggle-client

or

$ npm install @hmcts/feature-toggle-client

Getting Started

Prerequisites

Running the application

Install dependencies by executing the following command:

$ yarn install

Developing

Code style

We use TSLint with StandardJS rules

Running the linting:

yarn lint

Running the tests

Mocha is used for writing tests.

Run them with:

$ yarn test

For test coverage:

$ yarn test:coverage

License

This project is licensed under the MIT License - see the LICENSE file for details