Installation

Installing the Webnative SDK

You can add Webnative 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 Webnative.

<script src="https://unpkg.com/webnative@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 wn = self.webnative

Package Manager

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

Install Webnative with npm or your preferred package manager.

npm install webnative

Import Webnative in your application.

import * as wn from 'webnative'

Last updated