@hmcts/feature-toggle-client
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

@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

Readme

Keywords

none

Package Sidebar

Install

npm i @hmcts/feature-toggle-client

Weekly Downloads

0

Version

1.0.0

License

MIT

Unpacked Size

12.2 kB

Total Files

13

Last publish

Collaborators

  • timja
  • andrewwa-kainos
  • bendiggle
  • ellie-harrison
  • adrianc
  • hemantt
  • adamsilver
  • trevorsaint
  • timja-hmcts
  • dharmendrak
  • robertparkinson
  • pragnesh
  • damdun
  • p.jar
  • sabah.irfan
  • jenkins-reform-hmcts