2.1.2 • Published 5 months ago

@octopusdeploy/openfeature v2.1.2

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
5 months ago

Octopus Deploy OpenFeature Provider for TypeScript/JavaScript (web clients)

Build test and release

The OctopusDeploy TypeScript/JavaScript OpenFeature provider for web clients, to be used with the OpenFeature web SDK

About Octopus Deploy

Octopus Deploy is a sophisticated, best-of-breed continuous delivery (CD) platform for modern software teams. Octopus offers powerful release orchestration, deployment automation, and runbook automation, while handling the scale, complexity and governance expectations of even the largest organizations with the most complex deployment challenges.

Getting Started

Installation

npm i @octopusdeploy/openfeature

Usage

const provider = new OctopusFeatureProvider({ clientIdentifier: "YourClientIdentifier" });

await OpenFeature.setProviderAndWait(provider);

await OpenFeature.setContext({ userid: "bob@octopus.com" });

const client = OpenFeature.getClient();
    
if (client.getBooleanValue("to-the-moon-feature", false, {})) {
    console.log('🚀🚀🚀');
}
2.1.2

5 months ago

2.1.1

7 months ago

2.1.0

11 months ago

2.0.0

11 months ago

1.1.0

1 year ago

1.0.1

1 year ago