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

deep-sdk

v1.3.0

Published

Deep Proctoring SDK

Readme

🛡️ Deep SDK

npm version license downloads

A lightweight browser proctoring & monitoring SDK for detecting suspicious behavior in online exams, assessments, and secure web sessions.

Built for modern SaaS platforms, LMS systems, and fintech-grade identity verification flows.


⚡ Features

  • 👁 Tab switching detection
  • 🖥 Fullscreen exit monitoring
  • 📷 Webcam activity tracking
  • 🔔 Real-time event callbacks
  • 🔐 API key authentication
  • ⚡ Lightweight & framework-agnostic
  • 📡 Secure event reporting to backend

📦 Installation

npm install deep-sdk

or

yarn add deep-sdk
🚀 Quick Start
import { initProctoring } from "deep-sdk";

initProctoring({
  apiKey: "YOUR_API_KEY",
  userId: "user_123",
  sessionId: "exam_session_456",

  onEvent: (event) => {
    console.log("Event:", event);
  },
});
⚙️ Configuration
type ProctorConfig = {
  apiKey: string;
  userId: string;
  sessionId: string;

  onEvent?: (event: ProctorEvent) => void;
  onWarning?: (warning: string) => void;
  onViolation?: (violation: string) => void;

  enableTabSwitchDetection?: boolean;
  enableFullscreenCheck?: boolean;
  enableWebcamMonitoring?: boolean;

  endpoint?: string;
};
📡 Event Types
type ProctorEvent =
  | "TAB_SWITCH"
  | "FULLSCREEN_EXIT"
  | "FULLSCREEN_ENTER"
  | "WEBCAM_STARTED"
  | "WEBCAM_STOPPED"
  | "SUSPICIOUS_ACTIVITY";
🧪 Example (React)
import { useEffect } from "react";
import { initProctoring } from "deep-sdk";

export default function Exam() {
  useEffect(() => {
    initProctoring({
      apiKey: "YOUR_KEY",
      userId: "user_001",
      sessionId: "session_001",
    });
  }, []);

  return <div>Exam in progress...</div>;
}
🔐 Authentication

Deep SDK uses API key authentication.

How it works:
Create API key in dashboard
Pass it into SDK
Events are securely sent to your backend
apiKey: "pk_live_xxxxxxxxx"
🌐 Event Payload

Events are sent to your backend:

POST https://your-api.com/v1/proctor/events
Example payload:
{
  "apiKey": "pk_live_xxx",
  "userId": "user_123",
  "sessionId": "exam_456",
  "event": "TAB_SWITCH",
  "timestamp": 1710000000
}
🧠 How It Works
Frontend SDK
   ↓
Event Monitoring Layer
   ↓
Secure API Service
   ↓
Backend Database
   ↓
Admin Dashboard

🧱 Use Cases
Online exams & CBT platforms
Remote hiring assessments
Identity verification flows
Training & certification platforms
Secure fintech onboarding

📊 Roadmap
 AI-based cheating detection
 Face tracking & attention scoring
 Screen recording support
 LMS integrations (Moodle, etc.)
 Real-time supervisor dashboard
 Risk scoring engine

⚠️ Security
Keep API keys private
Always use HTTPS endpoints
Validate all events on backend
Do not expose keys in frontend repos
🛠 Development
git clone https://github.com/your-org/deep-sdk
cd deep-sdk
npm install
npm run build

📦 Build Output
dist/
 ├── index.js
 ├── index.mjs
 ├── index.global.js
 ├── index.d.ts
 
🚀 Publish
npm version patch
npm publish
📄 License

MIT © 2026 Deep SDK