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

@zeetechsolutions/solutions

v1.0.0

Published

Guía para integrar visores vía <iframe> (transcodificador, OCR, editor NER) con auth básica.

Readme

📦 Integración de Visores vía <iframe>

Este documento explica cómo subir archivos, consultar su estado/URL y mostrar resultados dentro de un <iframe> para tres servicios:

  • 🎥 Transcodificador (video → audio → transcripción)

  • 📄 OCR (PDF/imagen → texto)

  • ✍️ Editor (procesamiento de texto)

Todos los servicios comparten el mismo flujo:

  1. Autenticación básica en los endpoints (usuario + token).

  2. Subir el archivo al endpoint de carga.

  3. Consultar el recurso para obtener la URL.

  4. Renderizar la URL dentro de un <iframe>.


1. 🎥 Transcodificador

Función: Convierte videos MP4 en texto transcrito, mostrando el video sincronizado con subtítulos.
Seguridad: Autenticación básica (usuario + token).
Compatibilidad: Navegadores modernos; se recomienda MP4.


2. 📄 OCR

Función: Convierte PDFs o imágenes (JPG/PNG) en texto editable y buscable.
Seguridad: Autenticación básica (usuario + token).
Compatibilidad: Navegadores modernos; soporta PDF, JPG y PNG.


3. ✍️ Editor NER

Función: Identifica entidades nombradas (personas, lugares, organizaciones, fechas, etc.) en texto y las muestra en un editor interactivo.
Seguridad: Autenticación básica (usuario + token).
Compatibilidad: Navegadores modernos; entrada de texto o JSON.


🔐 Autenticación

Tipo: Básica (HTTP Basic Auth)

Enviar el header:

Authorization: Basic <base64(user:token)>

📄 Ejemplo OCR (PDF/JPG/PNG)

Docs: https://ocr.zeetech.com.mx/api/docs

Endpoints

POST /api/api-files/upload
GET  /api/api-files/get/{url}

Respuesta esperada:

{
  "_id": "***************",
  "src": "https://********/archivo.pdf?X-Amz-Algorithm=***&X-Amz-Signature=***",
  "mimetype": "application/pdf",
  "status": "SUCCESS",
  "createdAt": "2025-04-24T19:16:58.056Z",
  "updatedAt": "2025-04-24T19:18:13.521Z",
  "urlModal": "https://********/file/***************"
}

🖼️ Embebido con <iframe>

<iframe
  src="${urlModal}"
  style="width:100%; height:80vh; border:0;"
  loading="lazy"
></iframe>

🎥 Ejemplo Transcodificador (MP4)

Docs: https://transcripcion.zeetech.com.mx/api/docs

Endpoints

POST /api/api/transcriptor/create
GET  /api/api/video/{id}

Respuesta esperada:

{
  "_id": "***************",
  "status": "SUCCESS",
  "video": "https://********/video.mp4?X-Amz-Signature=***",
  "srt": "https://********/video.srt?X-Amz-Signature=***",
  "vtt": "https://********/video.vtt?X-Amz-Signature=***",
  "json": "https://********/video.json?X-Amz-Signature=***",
  "mod": "large",
  "user": "***************",
  "createdAt": "2025-08-04T18:14:22.337Z",
  "updatedAt": "2025-08-04T18:14:22.337Z",
  "name": "Simulacro de audiencia.mp4",
  "url": "https://********/video/***************?token=***"
}

🖼️ Embebido con <iframe>

<iframe
  src="${url}"
  style="width:100%; height:80vh; border:0;"
  loading="lazy"
  allowfullscreen
></iframe>

🎥 Ejemplo Editor - NER

Docs: https://ner.zeetech.com.mx/api/docs

Endpoints

Se hace el POST del link del documento en formato DOCX, el cual debe ser accesible, esto mediante un socket a:

POST /api/queues

Posteriormente, una vez finalice la tarea, devolverá un arreglo con los nombres a testar.