@titicaca/firebase-remote-config-client
TypeScript icon, indicating that this package has built-in type declarations

0.1.1 • Public • Published

Firebase Remote Config Client

Firebase Remote Config를 조회/갱신하는 클라이언트 라이브러리입니다.

Usage

$ npm install @titicaca/firebase-remote-config-client --save
import { fetchConfig, updateConfig } from '@titicaca/firebase-remote-config-client'

async function fetch() {
  const { body, etag, status } = await fetchConfig({
    accountManifest: {
      client_email: 'some@example.com',
      private_key: 'PRIVATE_KEY'
    }
  })

  console.log(body)
}

async function update() {
  const { body, etag, status } = await fetchConfig({
    accountManifest: {
      client_email: 'some@example.com',
      private_key: 'PRIVATE_KEY'
      key: 'foo',
      value: 'bar'
    }
  })

  console.log(body) /* Has "foo": { "defaultValue": "bar" } */
}

Dependents (0)

Package Sidebar

Install

npm i @titicaca/firebase-remote-config-client

Weekly Downloads

0

Version

0.1.1

License

MIT

Unpacked Size

5.03 kB

Total Files

4

Last publish

Collaborators

  • seyeon25
  • dy604160
  • nuri1224
  • teddy23
  • south94
  • pbh92
  • okh01
  • clearsky1015
  • jinyung
  • kbg2
  • sejong.chae
  • kmkim
  • cosmiceyez23
  • hankwanyong
  • yejikk
  • yunsoomin
  • jran12
  • noah95
  • jason91
  • garlicsource
  • devravit
  • int_robben
  • ponykit
  • psg107
  • shin0723
  • daisy-rec
  • eddie-int
  • jayden92
  • leejunhyuck
  • lunychu
  • jungwoo.interpark
  • cu_kim
  • hwangjungmin
  • hari21
  • mcpark
  • raitei0330
  • lucy0327
  • influx08
  • ben-youngho
  • audreyoon
  • jimmy_triple
  • kidol
  • dia-triple
  • miya1
  • jinsol-kim
  • watsonpark
  • teo-triple
  • donup088
  • litsynp
  • hoolie
  • moomoo95
  • triple-dominic
  • jarry-triple
  • ronnie48
  • jhyj0521
  • hannah-triple
  • triple-ronnie
  • hailey-triple
  • maeve.triple
  • doncic
  • triple-demian
  • owen95
  • ywtechit
  • jonghodev
  • guswl
  • rita913
  • odile-triple
  • greeenly
  • portfolio-y0711
  • holy
  • kyudeok
  • heron-triple
  • inbeom
  • dincal
  • triple-corp
  • judetriple
  • bruce-00
  • sirokim
  • david-triple
  • torres-god
  • jay-triple
  • simonz
  • how3
  • pode
  • triple-steve
  • hans-triple
  • eugene-triple
  • kage.kim
  • hancock-triple
  • lucas-triple
  • zoe_
  • robby-triple
  • triple-young
  • triple-ben
  • zhsks528