JavaScript implementation of the Confidence SDK and the Confidence OpenFeature provider, to be used in conjunction wth the OpenFeature SDK.
This monorepo exports multiple packages, with their own docs:
You can install all dependencies by running
yarn
Code is formatted using prettier, you can format all files by running
yarn format
To run the linter, run:
yarn lint
Tests are based on jest and can be run with
yarn test
Before release the sources (and types) are bundled. This process also includes generating an API report to keep track of changes to the public API. If you intend to change the public API you need to run the bundle command locally and commit the changed API report files, otherwise the commit will fail in CI. To update the API report run:
yarn bundle
This project adheres to the Open Source Code of Conduct. By participating, you are expected to honor this code.
Copyright 2023 Spotify AB.
Licensed under the Apache License, Version 2.0: http://www.apache.org/licenses/LICENSE-2.0