npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@originalmy/blockchainid-qrcode-plugin

v1.0.8

Published

BlockchainID QRCode generator javascript library

Readme

BlockchainID QR code

BlockchainID is a simple OAuth2 to request personal and verified data from OriginalMy users.

Installation

yarn add @originalmy/blockchainid-qrcode-plugin

Or

npm install @originalmy/blockchainid-qrcode-plugin

Import

const BlockchainID = require("@originalmy/blockchainid-qrcode-plugin");

Or

import BlockchainID from "@originalmy/blockchainid-qrcode-plugin";

Or

<script src="https://unpkg.com/@originalmy/blockchainid-qrcode-plugin/dist/blockchainid.js"></script>

Usage

On JavaScript:

const blockchainID = new BlockchainID({
  companyId: YOUR_COMPANY_ID,
});

blockchainID.onAuthenticate = function (nonce) {
  console.log("Authentication OMyID", nonce);
  console.log(
    "Make a request to your backend here sending the nonce to get user infos"
  );
};

blockchainID.onExpire = function () {
  console.log("Link OMyID expired");
};

blockchainID.onCancel = function () {
  console.log("Canceling...");
};

On HTML:

<div id="blockchainID"></div>

Properties

el

Element where BlockchainID button will stay.

companyId

CompanyID given by OriginalMy API.

infos

List of informations to require from user. See the complete list in documentation.

mode

Values: dialog | body | kiosque | link (default: dialog)

QR code display type

mobileScheme

Values: originalmy (default)

Scheme defined to open the app

buttonIcon

Image URL that stay in button left side

buttonText

Button text

showQRCodeIcon

If you desire to show OriginalMy icon on QR code (default: true)

dialogLogo

Image URL that stay on dialog top

lang

Values: String en (default) | pt

Plugin language

closeButtonIconColor

Values: String #000000 (default)

Dialog close button color

buttonStyle

Override button style

buttonIconStyle

Override button icon style

buttonTextStyle

Override button text style

qrcodeStyle

Override QR code style

qrcodeContainerStyle

Override QR code container style

dialogStyle

Override dialog style

dialogBackdropStyle

Override dialog backdrop style

dialogLogoStyle

Override dialog logo style

dialogCloseButtonStyle

Override dialog close button style

translations

Texts translations

{
  "en": {
    "buttonText": "..."
  },
  "pt-BR": {
    "buttonText": "..."
  }
}

Events

onAuthenticate

Function to be called when the user scan the QR code and accept the required data.

onExpire

Function to be called when the QR code expires.

onCancel

Function to be called when user closes the dialog and cancel authentication.

onURL

Function to be called when starts Blockchain session to get login URL.

Contact

Any bug, error and doubt [email protected]

OriginalMy. All rights reserved