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.

About

JavaScript SDK for Optimizely Feature Experimentation and Optimizely Full Stack (legacy).

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Packages

No packages published

Contributors 54