Take the pain out of managing all your app configurations that are scattered all over the Internet. With RemoteConfigs, you can manage all your app configurations from a central dashboard and reference them in your applications using our simple REST API.
RemoteConfigs, Inc. is a Red Ruby IT (Pty) Ltd. company.
$ npm i remoteconfigs-client
const rcRepo = require('remoteconfigs-client');
or
import { RemoteConfigsRepository } from 'remoteconfigs-client';
import { RemoteConfigsRepository } from 'remoteconfigs-client';
fetchRemoteConfigs = async () => {
const rcRepo = new RemoteConfigsRepository('API_TOKEN');
const configs = await rcRepo.GetAllConfigurations();
console.log(configs);
}
or if you dont like async/await
import { RemoteConfigsRepository } from 'remoteconfigs-client';
fetchRemoteConfigs = () => {
const rcRepo = new RemoteConfigsRepository('API_TOKEN');
rcRepo.GetAllConfigurations().then((configs) => {
console.log(configs);
});
}