@microblink/blinkid
TypeScript icon, indicating that this package has built-in type declarations

7.4.1 • Public • Published

@microblink/blinkid

The all-in-one BlinkID browser SDK package. It provides a high-level, easy-to-use API for document scanning and recognition in web applications, bundling all required components and resources for a seamless integration experience.

Overview

  • Combines the BlinkID engine, camera management, user experience (UX) management, and all required resources.
  • Handles initialization, licensing, camera selection, scanning, and user feedback UI.
  • Suitable for most use cases—just add your license key and start scanning!
  • Used in production by leading companies for fast and accurate ID document scanning in the browser.

What's Included

Installation

Install from npm using your preferred package manager:

npm install @microblink/blinkid
# or
yarn add @microblink/blinkid
# or
pnpm add @microblink/blinkid

Usage

A minimal example:

import { createBlinkId } from "@microblink/blinkid";

const blinkid = await createBlinkId({
  licenseKey: import.meta.env.VITE_LICENCE_KEY,
});

For more advanced usage, customization, or integration with your own UI, see the example apps and the documentation for the underlying packages.

Example Apps

Explore example applications in the GitHub repository for ready-to-run demos:

Each example demonstrates different integration patterns and features.

Hosting Requirements

  • Serve the public/resources directory as-is; it contains all required Wasm, worker, and resource files.

  • Must be served in a secure context.

  • For multithreaded builds, your site must be cross-origin isolated:

    Cross-Origin-Embedder-Policy: require-corp
    Cross-Origin-Opener-Policy: same-origin
    

License Key

A valid license key is required. Request a free trial at Microblink Developer Hub.

Development

To build the package locally:

  1. Install dependencies in the monorepo root:

    pnpm install
  2. Build the package:

    pnpm build

The output files will be available in the dist/, types/, and public/resources/ directories.

More Information

Readme

Keywords

none

Package Sidebar

Install

npm i @microblink/blinkid

Weekly Downloads

213

Version

7.4.1

License

none

Unpacked Size

71.3 MB

Total Files

29

Last publish

Collaborators

  • microblinkadmin
  • ivancuric
  • matijakrizanec
  • mparadina
  • mb-mpisacic
  • medvedecrobertmb
  • mkresic