You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

lumitra-js

Package Overview
Dependencies
Maintainers
0
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lumitra-js

NPM package that injects Lumitra.js from cdn.lumitra.io (like Stripe's approach)

1.0.2
latest
npmnpm
Version published
Weekly downloads
2
-50%
Maintainers
0
Weekly downloads
 
Created
Source

lumitra-js

A small NPM package that dynamically injects the Lumitra.js script from your CDN.
Inspired by how @stripe/stripe-js loads js.stripe.com/v3.

Installation

npm install lumitra-js
# or
pnpm add lumitra-js

Usage

import { loadLumitra } from "lumitra-js";

(async () => {
  const lumitra = await loadLumitra();
  // e.g. lumitra.initializeLumitraSession(...) etc.
})();

Versioning

If you do major changes, create a new path in your CDN (e.g. /sdk/v2/lumitra.js) and update the URL in src/index.ts.

License

Proprietary. All rights reserved by Lumitra.

FAQs

Package last updated on 10 Mar 2025

Did you know?

Socket

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