Socket
Socket
Sign inDemoInstall

@moovio/moov-js

Package Overview
Dependencies
0
Maintainers
6
Versions
13
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @moovio/moov-js

Moov.js loader


Version published
Maintainers
6
Install size
41.2 kB
Created

Readme

Source

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.

Keywords

FAQs

Last updated on 09 Aug 2023

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc