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

@thtf/excel-designer

Package Overview
Dependencies
Maintainers
0
Versions
53
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@thtf/excel-designer

web excel

npmnpm
Version
1.1.36
Version published
Weekly downloads
62
1450%
Maintainers
0
Weekly downloads
 
Created
Source

报表设计器

用法

NPM

npm install @thtf/excel-designer
<div id="test"></div>
import Spreadsheet from '@thtf/excel-designer';
import '@thtf/excel-designer/dist/styles/spreadsheet.css';

const s = new Spreadsheet('#test')
  .loadData({})
  .change((data) => {
    // save data to db
  });

Browser

<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@thtf/excel-designer@1.0.2/dist/styles/spreadsheet.css">
<script src="https://cdn.jsdelivr.net/npm/@thtf/excel-designer/dist/js/spreadsheet.min.js"></script>

<div id="test"></div>
<script>new Spreadsheet('#test');</script>

发布流程

  • 编译代码
npm run build
  • 登录(登录过可忽略)
npm login
  • 发布
npm publish

FAQs

Package last updated on 26 Jun 2024

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