🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

sheetnext

Package Overview
Dependencies
Maintainers
1
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sheetnext

A pure front-end spreadsheet component with Excel-like capabilities, built-in native AI workflows, and flexible LLM integration for data operations.

latest
Source
npmnpm
Version
0.2.21
Version published
Weekly downloads
274
-38.7%
Maintainers
1
Weekly downloads
 
Created
Source

SheetNext Logo

A pure front-end spreadsheet component with Excel-like capabilities, built-in native AI workflows, and flexible LLM integration for data operations.

English | 简体中文

npm version npm downloads license Canvas rendering AI ready file support

SheetNext demo

  • SheetNext is a pure front-end, high-performance spreadsheet engine that provides enterprises with a ready-to-use intelligent spreadsheet foundation.
  • With the AI-driven development approach, a single developer + AI can integrate and deliver complex enterprise spreadsheet solutions.
  • Common scenarios like ledgers, budgets, analytics, data entry, and approvals can produce a first version in minutes.

✨ Key Features

  • 📊 Full Spreadsheet Capabilities — Formula engine, charts, pivot tables, super tables, slicers, conditional formatting, data validation, sparklines, freeze panes, sorting & filtering, and more
  • 🤖 AI-Powered Workflow — Built-in AI automation for template generation, data analysis, formula writing, and cross-sheet logic
  • 📁 Native File Support — Import/export Excel (.xlsx), CSV, and JSON out of the box, no extra plugins needed
  • 🚀 Zero-Config Setup — All features built in, no additional dependencies required
  • ⚡ High-Performance Rendering — Canvas-based virtual scrolling handles large datasets with ease

🚀 Quick Start

SheetNext can be integrated with just a few lines of code and works with any front-end framework (Vue, React, Angular, etc.).

Option 1: Traditional Integration

Install via npm

npm install sheetnext
<!-- Container for the editor -->
<div id="SNContainer" style="width:100vw;height:100vh;padding:0 7px 7px"></div>
import SheetNext from 'sheetnext';
import 'sheetnext.css';

const SN = new SheetNext(document.querySelector('#SNContainer'));

Browser Direct Import (CDN)

<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>SheetNext Demo</title>
  <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/sheetnext/dist/sheetnext.css">
</head>
<body>
  <div id="SNContainer" style="width:100vw;height:100vh;padding:0 7px 7px"></div>
  <script src="https://cdn.jsdelivr.net/npm/sheetnext/dist/sheetnext.umd.js"></script>
  <script>
    const SN = new SheetNext(document.querySelector('#SNContainer'));
  </script>
</body>
</html>

Internationalization (i18n)

The default language is English (en-US). A built-in Chinese (zh-CN) locale is available.

Import locale via npm:

import SheetNext from 'sheetnext';
import zhCN from 'sheetnext/locales/zh-CN.js';

SheetNext.registerLocale('zh-CN', zhCN);

const SN = new SheetNext(document.querySelector('#SNContainer'), {
  locale: 'zh-CN'
});

Import locale via CDN:

<script src="https://cdn.jsdelivr.net/npm/sheetnext/dist/sheetnext.umd.js"></script>
<script src="https://cdn.jsdelivr.net/npm/sheetnext/dist/sheetnext.locale.zh-CN.umd.js"></script>
<script>
  const SN = new SheetNext(document.querySelector('#SNContainer'), {
    locale: 'zh-CN'
  });
</script>

Step 1: Download the AI Development Reference

  • For Codex Skills, use the ready-to-install skill directory: docs/skill/sheetnext-dev/.
  • For other AI tools, open docs/skill/sheetnext-dev/references/ in the repository.
  • The core references are docs/skill/sheetnext-dev/references/core-api.md, docs/skill/sheetnext-dev/references/events.md, and docs/skill/sheetnext-dev/references/enums.md.
  • Protocol supplements are docs/skill/sheetnext-dev/references/ai-relay.md and docs/skill/sheetnext-dev/references/json-format.md.

Step 2: Use the Skill or Feed references to Your AI Tool

For Codex, copy the generated skill into your Codex skills directory, then restart Codex:

Copy-Item -Recurse -Force .\docs\skill\sheetnext-dev "$env:USERPROFILE\.codex\skills\sheetnext-dev"

For Cursor / Claude / ChatGPT / Copilot or any AI coding assistant, provide the docs/skill/sheetnext-dev/references/ reference set first, then describe your requirements.

Recommended prompt template:

You are a senior SheetNext AI development expert. Please read and understand the documentation I provide, then give a directly implementable solution.
Execution order:
1) Read: docs/skill/sheetnext-dev/references/core-api.md
2) Read as needed: docs/skill/sheetnext-dev/references/events.md, docs/skill/sheetnext-dev/references/enums.md, docs/skill/sheetnext-dev/references/ai-relay.md, and docs/skill/sheetnext-dev/references/json-format.md
3) Identify user goals (business goals + technical goals)
4) Output a minimum viable implementation (get it running first, then optimize)
5) All APIs and code must strictly follow the documentation
6) Provide verification steps and risk points
Constraints:
- Do not fabricate APIs
- Do not skip edge cases
- Prioritize reusing existing capabilities, avoid over-engineering

Step 3: Describe Your Business Goal

For example:

  • "Build a sales pivot analysis template with charts and slicers"
  • "Build a multi-sheet budget entry system with permissions and printing"
  • "Migrate an existing Excel template to an online editable version"

🎯 Use Cases

  • Online reporting systems, BI analytics front-ends, business dashboards
  • Spreadsheet engine modules in ERP / CRM / Finance / Supply Chain systems
  • Complex business forms for budgets, settlements, reconciliation, planning, and scheduling
  • AI-powered scenarios: auto-generate tables, analysis, templates, and logic

Browser Support

ChromeFirefoxSafariEdge
80+75+13+80+

License

Apache-2.0. See LICENSE.

Keywords

spreadsheet

FAQs

Package last updated on 10 Jul 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts