0.0.7 • Published 5 years ago

remoteconfigs-client v0.0.7

Weekly downloads
4
License
ISC
Repository
github
Last release
5 years ago

npm version

Build status

Installation

$ npm i remoteconfigs-client

Usage

const rcRepo = require('remoteconfigs-client');

or

import { RemoteConfigsRepository } from 'remoteconfigs-client';

Example

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);
    });
}

0.0.7

5 years ago

0.0.6

5 years ago

0.0.5

5 years ago

0.0.4

5 years ago

0.0.1

5 years ago