Installation

Installing the ODD SDK

You can add ODD SDK to a project by loading it from a CDN or installing it with a package manager.

CDN

For prototyping or experimentation, you can use the latest version of ODD SDK.

<script src="https://unpkg.com/@oddjs/odd@latest/dist/index.esm.min.js/"></script>

We recommend linking to a specific version in production to avoid unexpected changes.

Use the build from the global context.

const odd = self.oddjs

Package Manager

We recommend installing the ODD SDK with a package manager for larger projects that use build tools or bundlers.

Install the ODD SDK with npm or your preferred package manager.

npm install @oddjs/odd

Import the ODD SDK in your application.

import * as odd from '@oddjs/odd'

Last updated