Socket
Book a DemoInstallSign in
Socket

@hmcts/feature-toggle-client

Package Overview
Dependencies
Maintainers
18
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hmcts/feature-toggle-client

JavaScript client for feature togggle

latest
npmnpm
Version
1.0.0
Version published
Maintainers
18
Created
Source

@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

FAQs

Package last updated on 14 Aug 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts