Skip to content

sigewuzhere/configcat-deno

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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