-
Moov.js
Installation
If you’re just getting started, there are a few different ways you can install Moov.js. You can do a script based installation, or initialize the package via npm.
1
2
3
4
|
<script type="text/javascript" src="https://js.moov.io/v1"></script>
<script>
const moov = Moov(token)
</script>
|
1
2
3
4
|
import { loadMoov } from '@moovio/moov-js';
const moovAccessToken = await fetch(...); // Use your server to get a Moov access token with appropriate scopes
const moov = await loadMoov(moovAccessToken);
|