Back to .md Directory

Module Reference

41 modules organized by category. All modules are zero-dependency, standalone JavaScript files.

May 2, 2026
0 downloads
0 views
ai
View source

Module Reference

41 modules organized by category. All modules are zero-dependency, standalone JavaScript files.

Parsers

ModuleFileDescription
CSV Parsersrc/parsers/csv.jsRFC 4180 compliant CSV/TSV parser. Streaming for >100MB files. BOM handling, auto-delimiter detection.
JSON Parsersrc/parsers/json.jsNested object flattening with dot notation. Trailing comma recovery. Error recovery for malformed input.
XLSX Parsersrc/parsers/xlsx.jsExcel OOXML SpreadsheetML reader. Shared strings, multi-sheet, date serial numbers, cell format handling.
ZIP Parsersrc/parsers/zip.jsZero-dependency zip reader using browser DecompressionStream API. Extracts and routes files to appropriate parsers.

Transforms

ModuleFileDescription
DataFramesrc/transforms/data-model.jsCore data model. Column/row operations, filter, sort, dedupe, toObjects. Headers + rows array structure.
Pipelinesrc/transforms/pipeline.jsUndo/redo transform history. 50-state maximum. Chainable operations with state snapshots.
SQL Enginesrc/transforms/sql.jsSQL SELECT parser and executor against DataFrames. Supports JOINs, GROUP BY, ORDER BY, LIMIT, UNPIVOT, FILL_DOWN, window functions.
SQL Functionssrc/transforms/sql-functions.js61+ built-in SQL functions: string (17), date (10), math (8), type/null (6), conditional (1), advanced string (3).
Pivot Enginesrc/transforms/pivot.jsgroupBy, aggregate, and pivot operations. 9 aggregation functions: count, sum, avg, min, max, first, last, countDistinct, list.
Redactionsrc/transforms/redact.jsColumn-level data masking: blank, replace, mask (partial), hash (djb2). For sanitizing sensitive data before export.
PII Scannersrc/transforms/pii-scanner.jsTwo-pass PII detection. Fast regex gate then validation (Luhn for credit cards, format check for SSNs). Pattern definitions in pii-patterns.json.

Export

ModuleFileDescription
Exportsrc/export/export.jsCSV and JSON export. Clipboard copy as TSV. File download via Blob URL. Configurable delimiters and formatting.
XLSX Writersrc/export/xlsx-writer.jsZero-dependency XLSX generator. Builds OOXML ZIP archives with shared strings, styles, CRC32 checksums. STORE compression.

UI

ModuleFileDescription
App Shellsrc/ui/app-shell.jsFull-page application shell. Tab navigation, file management, onboarding flow, Synthwave 84 theme, menu system. Detects bookmarklet vs standalone mode.
Table Renderersrc/ui/table.jsVirtual-scrolling table for 1M+ rows. Column sort (asc/desc/none), row selection, Shift+click range, TSV copy, null display.
REPLsrc/ui/repl.jsChrome DevTools-style console. Command history (up/down arrows), JSON tree expansion, multi-line input (Shift+Enter). Executes JS and SQL.
Notebooksrc/ui/notebook.jsMulti-cell notebook with JS, SQL, and Markdown cell types. Drag-reorder cells. Stale detection (warns when upstream cells change).
File Importsrc/ui/file-import.jsDrag-and-drop zone with auto format detection. Supports CSV, JSON, XLSX, TSV, ZIP. File picker fallback. Paste support.
Pivot Panelsrc/ui/pivot-panel.jsInteractive pivot table controls. Select groupBy columns, aggregation functions, and pivot columns.
Command Palettesrc/ui/command-palette.jsCtrl+P fuzzy-search action launcher. Subsequence matching algorithm. Keyboard navigation (up/down/enter).
Build Configsrc/ui/build-config.jsInteractive module selector. Size estimates per module. Tier calculator (minimal vs full). Generates custom build configurations.
Debug Panelsrc/ui/debug-panel.jsUnified debug tab integrating Network, Console, Storage, and DOM inspector views.
Panel Systemsrc/ui/panel.jsDraggable, resizable floating panel for bookmarklet injection mode. Handles positioning, z-index, minimize/close.
Help / Settings(in app-shell.js)F1 help modal. localStorage-backed user preferences. Theme toggle.

Inspect

ModuleFileDescription
DOM Scrapersrc/inspect/dom-scraper.jsClick-to-select HTML table extraction. Highlights tables on hover. Converts <table> elements to DataFrames. Generates CSS selectors.
Network Interceptorsrc/inspect/network-interceptor.jsMonkey-patches XMLHttpRequest and fetch. Captures method, URL, status, response body, size, timing. 500-entry rolling log.
Storage Viewersrc/inspect/storage-viewer.jsReads cookies (document.cookie), localStorage, and sessionStorage. Outputs as key-value DataFrames. Handles SecurityError gracefully.
Console Capturesrc/inspect/console-capture.jsIntercepts console.log/warn/error/info. Stringifies arguments (JSON for objects, stack traces for Errors). Forwards to original console.
Page Explorersrc/inspect/page-explorer.jsMini DevTools: enumerates non-standard window globals, DOM structure summary, performance timing, event listeners, meta tags.

Scanner

ModuleFileDescription
Preflight Scannersrc/scanner/preflight-scanner.jsFile sanitization checks: base64 blobs, embedded script tags, binary byte sequences, formula injection (=, +, -, @), Shannon entropy analysis, PII gate. Generates a pass/fail manifest.

SharePoint

ModuleFileDescription
SP Authsrc/sharepoint/sp-auth.jsDigest-based authentication via _api/contextinfo. spFetch wrapper for authenticated requests.
SP Compatsrc/sharepoint/sp-compat.jsSharePoint version detection (2013/2016/2019/SPO). Feature matrix per version.
SP Errorssrc/sharepoint/sp-errors.jsError response parsing. Exponential backoff for throttled requests (429). Digest refresh on 403.
SP List Browsersrc/sharepoint/sp-list-browser.jsEnumerate lists and libraries. View item count and schema. 5,000-item threshold handling with indexed column filtering.
SP List Exportsrc/sharepoint/sp-list-export.jsPaginated list export. OData $select, $filter, $orderby support. Handles large lists via $skiptoken.
SP List Importsrc/sharepoint/sp-list-import.jsCSV to SharePoint list. Column mapping UI. Entity type resolution. Batch POST with digest auth.
SP Doc Browsersrc/sharepoint/sp-doc-browser.jsDocument library navigation. Folder tree traversal. File preview and download.
SP File Uploadsrc/sharepoint/sp-file-upload.jsChunked upload (10MB chunks). Large file support up to 250MB threshold. Special character handling in filenames.
SP SPFxsrc/sharepoint/sp-spfx.jsSPFx web part manifest generation. Component packaging guide for .sppkg deployment.
SP ASPXsrc/sharepoint/sp-aspx.jsApplication page template for SP 2013+ farm deployments via _layouts path.

Utility

ModuleFileDescription
Type Detectionsrc/util/detect-types.jsAuto-detect column types by sampling values. Recognizes: date (15 patterns), boolean, numeric, null/empty. Used by import and SQL.
Audit Logsrc/util/audit-log.jsAppend-only JSON Lines audit trail. NIST 800-53 AU family alignment. SHA-256 fingerprinting (FNV-1a fallback). Tracks imports, exports, queries, transforms, redactions. 10,000-entry max.

Related Documents