Socket
Book a DemoInstallSign in
Socket

@opendoor/optimizely-js-sdk-datafile-manager

Package Overview
Dependencies
Maintainers
73
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package was removed
Sorry, it seems this package was removed from the registry

@opendoor/optimizely-js-sdk-datafile-manager

Optimizely Full Stack Datafile Manager

0.4.1
unpublished
latest
npmnpm
Version published
Weekly downloads
0
Maintainers
73
Weekly downloads
 
Created
Source

Javascript SDK Datafile Manager

This package provides a datafile manager implementations for Node.js and the browser.

Installation

npm install @opendoor/optimizely-js-sdk-datafile-manager

Usage

const { DatafileManager } = require('@opendoor/optimizely-js-sdk-datafile-manager')

const manager = new DatafileManager({
  sdkKey: '9LCprAQyd1bs1BBXZ3nVji',
  autoUpdate: true,
  updateInterval: 5000,
})
manager.start()
manager.onReady().then(() => {
  const datafile = manager.get()
  console.log('Manager is ready with datafile: ')
  console.log(datafile)
})
manager.on('update', ({ datafile }) => {
  console.log('New datafile available: ')
  console.log(datafile)
})

FAQs

Package last updated on 18 Aug 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.