ibm-appconfiguration-node-core v0.1.3
IBM Cloud App Configuration Node Core SDK
IBM Cloud App Configuration Core SDK is used as a base module for configuring feature flags and Crash Analytics
Table of Contents
Overview
IBM Cloud App Configuration is a centralized feature management and configuration service on IBM Cloud for use with web and mobile applications, microservices, and distributed environments.
Instrument your applications with App Configuration SDKs, and use the App Configuration dashboard or API to define features flags, organized into collections and targeted to segments. Change feature flag states in the cloud to activate or deactivate features in your application or environment, often without re-starting.
Installation
$ npm install ibm-appconfiguration-node-core
Include Module
Import AppConfigurationCore in your Node application
const { AppConfigurationCore } = require ('ibm-appconfiguration-node-core');
Initialize Client
const client = AppConfigurationCore.getInstance({
region: 'us-south',
guid: 'xxxxx-5f61-xxxx-9f97-xxxx',
apikey: 'abcd-1234xyz',
})
- region : Region name where the App Configuration service instance is created. Use
us-south
for Dallas andeu-gb
for London. - guid : Instance Id of the App Configuration service. Get it from the service credentials section of the dashboard
- apikey : ApiKey of the App Configuration service. Get it from the service credentials section of the dashboard.
Note: The AppConfigurationCore client can be
null
if any of the configurations are missing or invalid.
See App Configuration Feature SDK and App Configuration Crash SDK for more details.
License
IBM