0.0.16 • Published 10 months ago

@moovio/moov-js v0.0.16

Weekly downloads
-
License
Apache-2.0
Repository
-
Last release
10 months ago

Moov.js loader

Use this module to initialize Moov.js in your client side web application.

Install

Use npm to install the Moov.js module.

npm install @moovio/moov-js

Initialize

loadMoov

Import loadMoov from the newly installed package. After you generate an access token you can add it as a parameter to loadMoov. This function returns a Promise with a Moov object once Moov.js has been loaded. It will also load Moov.js and insert it in a script tag if it does not already exist in the DOM. If there is no DOM, like in a server environment, it will resolve to null.

import { loadMoov } from '@moovio/moov-js';

const moovToken = "eyJhbGciOiJSUzI1NiIsIm...";
const moov = await loadMoov(moovToken);

The moov instance is now available for use!

moov.accounts.create({...});

Moov.js documentation

Refer to our docs for more information about how to use Moov.js for onboarding and moving money.

0.0.16

10 months ago

0.0.15

11 months ago

0.0.14

2 years ago

0.0.13

2 years ago

0.0.12

3 years ago

0.0.11

3 years ago

0.0.10

3 years ago

0.0.8

4 years ago

0.0.7

4 years ago

0.0.6

4 years ago

0.0.5

4 years ago

0.0.4

4 years ago

0.0.3

4 years ago

0.0.2

4 years ago

0.0.1

4 years ago