• Camera Scanning
  • ID Parsing
  • DIVE
  • Web Services
  • Third Party Checks
  • Authentication
IDScan.net
  • DIVE API
  • Web Library V2
  • Installation
Search Results for

    Show / Hide Table of Contents
    • Introduction
      • Getting Started
      • Web Library License Key
      • Supported Document Types
      • Recommended Browsers
      • Supported Image File Types
      • Image Requirements
      • Hosting Options
      • Security
      • FAQ
    • DIVE API
      • Web Portal
        • Bearer Tokens
        • License Keys
        • Verification Requests
        • Reviewable Submissions
        • Suspicious Activity Monitoring
        • Settings
      • Integration Options
      • Web Library V2
        • Migration Guide
        • Installation
        • Configuration Settings
        • Functions
        • Event Handlers
        • Style Customizations
      • Additional Verification Services
      • API Manual
      • Overriding Server Settings
      • Verify Use Cases
      • Authentication Use Cases
      • Verification/Authentication Response
      • Error Codes
      • Swagger UI
      • DIVE Web API Demo
    • DIVE Online
      • Web Portal
      • Integration Options
      • Wrapper
        • Installation
        • Configuration Settings
        • Functions
        • Event Handlers
      • SMS
      • Webhooks
      • Callback URLs
      • API Manual
      • Swagger UI
    • Native SDKs
      • iOS SDK
      • Android SDK
      • Sample Apps
    • DIVE Web API Sample Apps
      • Client Side Sample Apps
        • Vanilla Javascript
        • Angular
        • Vue
        • React
        • Svelte
      • Backend Sample Apps
        • Express (Firebase Cloud Function)

    Installation

    Install Node Package from NPM

    $ npm install --save @idscan/idvc2
    

    Copy the Files from the Networks Directory

    After installing the Node package from NPM you will need to copy the networks folder from the Node package's directory to a location where static assets can be accessed at runtime.

    Depending on the web server you are using to host your application the location to place the networks folder and its contents may vary, so we recommend referring to the relevant documentation. That location also needs to match the networkURL configuration setting.

    Update the HTML File the Web Library Belongs On

    After installing the Node package and placing the contents of the networks directory in their proper place you only need to make a small change to the HTML file where the Web Library is to be added like in the image below.

    Add the Web Library Configuration

    The last step is to add the configuration for the Web Library into your application's Javascript files which we demonstrate in our sample applications in Github

    In This Article
    • Install Node Package from NPM
    • Copy the Files from the Networks Directory
    • Update the HTML File the Web Library Belongs On
    • Add the Web Library Configuration
    Back to top IDScan.net IDScan.net GitHub