Skip to content

OctopusDeploy/openfeature-provider-ts-web

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('🚀🚀🚀');
}

About

An OctopusDeploy TypeScript OpenFeature provider

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Packages

No packages published

Contributors 6