8000 GitHub - optimizely/javascript-sdk at 64c63e5706c42940475a90d76db0b31e5f8ee750
[go: up one dir, main page]

Skip to content

optimizely/javascript-sdk

Repository files navigation

#Optimizely JavaScript SDK

This repository houses the JavaScript SDK for Optimizely X Full Stack.

##Getting Started

###Installing the SDK

The SDK is available through npm. To install:

npm install optimizely-client-sdk --save

Or to use in a non CommonJS fashion:

  1. Run npm run build
  2. Pull in dist/optimizely.min.js as a <script>
  3. Use as global variable window.optimizelyClient

###Using the SDK See the Optimizely X Full Stack testing developer documentation to learn how to set up your first JavaScript project and use the SDK.

##Development

###Installing dependencies

npm install

###Unit tests

You can run all unit tests with:

npm test

###Contributing

Please see CONTRIBUTING.

0