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

bgustdown

v0.1.4

Published

High-performance document-to-markdown converter in Rust with NAPI-RS bindings.

Readme

bgustdown 🚀


💡 La Visión

bgustdown es una solución de ingeniería de datos de nivel industrial construida desde cero en Rust. Está diseñada para eliminar los cuellos de botella de rendimiento en pipelines de IA, RAG (Retrieval-Augmented Generation) y fine-tuning de LLMs, transformando archivos binarios corporativos complejos en Markdown estructurado y conjuntos de datos semánticos sin latencias innecesarias ni dependencias pesadas de runtime.


🌟 Características Clave

  • Motor de Ingesta Multi-Formato Ultra-Rápido (Rust):
    • PDF: Extracción estructurada y limpia de texto y capas vectoriales usando lopdf and pdf-extract.
    • Office (DOCX / ODT / XLSX): Conversión directa de esquemas XML (a través de quick-xml y calamine) a Markdown, preservando tablas, listas y jerarquías de cabeceras.
  • Formato de Tablas Basado en Apache Arrow:
    • Representación interna de datos tabulares (CSV y hojas XLSX) usando Apache Arrow, lo que permite operaciones en memoria ultrarrápidas y conversiones de esquemas sin copia de memoria (Zero-Copy).
  • Procesamiento de Texto y Tokenización Local:
    • Integración nativa con tokenizers de Hugging Face y modelos locales candle-core para segmentación semántica de oraciones orientada a entrenamiento RAG y NLP.
  • Soporte NAPI-RS Nativo:
    • Bindings dinámicos y de alto rendimiento compilados en C/C++ cargados directamente por Node.js sin sobrecoste de llamadas externas.

🏗️ Arquitectura del Repositorio

El proyecto ha consolidado su arquitectura monorrama en main, centralizando el desarrollo del core y organizando las configuraciones y manifiestos de distribución en el directorio docs/:

                           [ bgustdown Core ]
                                   │
      ┌────────────────────────────┼────────────────────────────┐
      ▼ (Librería Rust)            ▼ (Bindings Node/NAPI)       ▼ (Skill para Agentes)
 [ Canal Crates.io (v0.1.4) ]   [ Canal NPM / CLI (v0.1.4) ] [ Canal Skill de IA ]
  - docs/crates/                 - docs/npm/                  - docs/skill/
  - Importable como rlib         - Binario cdylib (.node)     - install_skill.sh

📦 Canales de Distribución

1. Canal Rust (Crates.io) 🦀

  • Versión Activa: v0.1.4
  • Tipo de Biblioteca: Estática (rlib).
  • Uso: Añade bgustdown a tu proyecto Rust:
    [dependencies]
    bgustdown = "0.1.4"
  • Ver detalles de publicación en: docs/crates/README.md.

2. Canal Node.js & CLI (NPM) 🟢

  • Versión Activa: v0.1.4
  • Tipo de Biblioteca: Dinámica (cdylib mediante NAPI-RS).
  • Instalación:
    npm install -g bgustdown
  • Ver detalles de publicación en: docs/npm/README.md.

3. Canal Skill para Agentes de IA 🧠

  • Integra las herramientas convert_file y prepare_nlp_data directamente en agentes autónomos (como Claude).
  • Ver detalles y manifiesto en: docs/skill/SKILL.md.

🛠️ Instalación y Compilación de Desarrollo

Si deseas compilar la librería dinámica y probar el CLI en tu entorno de desarrollo local:

  1. Clonar el repositorio:

    git clone https://github.com/B-GUST/bgustdown.git
    cd bgustdown
  2. Instalar dependencias de desarrollo e iniciar compilación:

    npm install
    npm run build
  3. Ejecutar el CLI:

    node cli.js convert ruta/a/tu/archivo.pdf

🤖 Guía de Uso del CLI Global

Una vez enlazado o instalado globalmente:

| Comando | Acción | | :--- | :--- | | bgustdown convert <file_path> | Conversión universal a Markdown. | | bgustdown prepare <file_path> | Segmentación y estructuración en JSON de datos NLP. |


📜 Licencia y Créditos

Este proyecto se distribuye bajo la licencia MIT. Consulta el archivo CREDITS.md para atribuciones a las librerías de terceros (Apache Arrow, Calamine, NAPI-RS, Candle).