Skip to content

sigewuzhere/configcat-deno

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

ConfigCat SDK for Deno

Unofficial Deno SDK for ConfigCat Feature Flags. Based on ConfigCat's Node.js SDK.

Usage

Import package

import * as configcat from "https://raw.githubusercontent.com/sigewuzhere/configcat-deno/master/client.ts";

Create ConfigCat client and access feature flags

const configCatClient = configcat.createClientWithAutoPoll('PKDVCLf-Hq-h-kCzMp-L7Q/HhOWfwVtZ0mb30i9wi17GQ');

const isAwesomeFeatureEnabled = await configCatClient.getValueAsync("isAwesomeFeatureEnabled", false);
console.warn("isAwesomeFeatureEnabled: " + isAwesomeFeatureEnabled);

Contributions

Contributions are welcome

License

MIT

About

Unofficial ConfigCat Feature Flags SDK for Deno

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published