RepositoryTypeScript
productdevbook

productdevbook/hucre

Zero-dependency spreadsheet engine. Read & write XLSX, CSV, ODS. Pure TypeScript, works everywhere.

2.3ksao
82fork
22issue
7lượt xem

Thành tựu nổi bật

Những danh hiệu mới nhất của dự án

1
TINIX TRENDING·Chủ đề: tree-shakeable

#1 Repository của tuần

1
TINIX TRENDING·Chủ đề: ods

#1 Repository của tuần

1
TINIX TRENDING·Chủ đề: esm

#1 Repository của tuần

📊 hucre: Engine bảng tính không phụ thuộc, nhẹ đến từng KB

Pure TypeScript, zero-dependency, chạy trên mọi nền tảng — từ Node.js đến Edge Runtime.

hucre là một thư viện bảng tính đa định dạng hoàn toàn bằng TypeScript, không có bất kỳ phụ thuộc nào. Dự án hỗ trợ đọc và ghi các định dạng như XLSX, CSV, ODS, JSON, NDJSON và XML, đồng thời cung cấp tính năng streaming, xác thực schema và khả năng giữ nguyên cấu trúc ban đầu khi thực hiện round-trip. Thiết kế modular với các entry riêng biệt cho từng định dạng giúp tree-shaking hiệu quả, giảm kích thước bundle xuống tối đa.

✨ Điểm nổi bật

  • Đọc & ghi đa định dạng: Hỗ trợ XLSX, CSV, ODS, JSON, NDJSON, XML chỉ với một thư viện.
  • Zero-dependency: Không phụ thuộc bên ngoài, an toàn tuyệt đối và dễ triển khai.
  • Tree-shakeable: Import từng module con như hucre/xlsx, hucre/csv để giảm bundle tối đa.
  • Streaming: Đọc & ghi theo kiểu streaming cho cả XLSX và CSV, xử lý dữ liệu lớn hiệu quả.
  • Xác thực schema: Kiểm tra cấu trúc dữ liệu khi đọc/ghi để đảm bảo tính toàn vẹn.
  • Round-trip preservation: Giữ nguyên định dạng, kiểu dữ liệu và cấu trúc khi chỉnh sửa tệp.
  • Hỗ trợ đầy đủ tính năng: Điều kiện định dạng, sparklines, bảng, hình ảnh, pivot tables...
  • Edge runtime & CSP compliant: Hoạt động trên môi trường Edge và tuân thủ CSP an toàn.

💡 Vì sao đáng chú ý

Khác với các thư viện truyền thống như SheetJS CE (~300KB) hay ExcelJS (~500KB), hucre chỉ chiếm khoảng 18KB khi nén gzip. Thiết kế modular và zero-dependency giúp giảm rủi ro bảo mật và tăng tốc độ tải. Đặc biệt, hucre hỗ trợ đầy đủ tính năng so với các đối thủ như conditional formatting, sparklines, hình ảnh và pivot tables — những tính năng thường chỉ có ở phiên bản trả phí của các dự án khác. Đây là lựa chọn lý tưởng cho ứng dụng web hiện đại, môi trường Edge và bất kỳ dự án nào cần xử lý bảng tính nhẹ và nhanh.


#Spreadsheet #TypeScript #OpenSource #ZeroDependency #TiniX

Dự án tương tự

Khám phá các dự án và mô hình AI khác có sự tương đồng.

Repository
SheetJS/sheetjs

📗 SheetJS Spreadsheet Data Toolkit -- New home https://git.sheetjs.com/SheetJS/sheetjs

36.3k
Apr 18, 2024
RepositoryPHP
PHPOffice/PhpSpreadsheet

A pure PHP library for reading and writing spreadsheet files

14.0k
Nov 26, 2026
RepositoryPHP
box/spout

Read and write spreadsheet files (CSV, XLSX and ODS), in a fast and scalable way

4.2k
May 26, 2022
RepositoryTypeScript
dream-num/univer

Build your own AI office with Univer Office SDK. Bring editing, calculation, collaboration, and file processing into your product for people and AI agents. Built on an extensible open-source core.

32.4k
Dec 2, 2026
RepositoryTypeScript
n8n-io/n8n

Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.

212.9k
Dec 2, 2026
RepositoryTypeScript
microsoft/vscode

Visual Studio Code

195.9k
Nov 30, 2026
RepositoryPython
pathwaycom/pathway

Python ETL framework for stream processing, real-time analytics, LLM pipelines, and RAG.

62.0k
Nov 16, 2026
RepositoryTypeScript
genspark-ai/genoffice

Free, open-source AI Office suite: Docs, Sheets, Slides, PDF, Markdown and HTML editors with a built-in AI agent, plus a `genoffice` CLI and agent skill so Claude Code, Codex and Cursor can create and edit real .docx/.xlsx/.pptx files locally. Bring your own key. macOS, Windows & Linux.

13.3k
Dec 2, 2026
RepositoryTypeScript
XinaTian/MROffice

MR Office — the open-source editors of the AI office suite closest to Microsoft Office: documents, spreadsheets, presentations, PDF and code in the browser. Copilot in every editor edits real Word, Excel and PowerPoint files with you; an MCP server lets Claude, ChatGPT, Cursor and Codex create and edit them; embed it in your app with one line.

4.9k
Nov 26, 2026