# ExcelJS
[![Build status](https://github.com/exceljs/exceljs/workflows/ExcelJS/badge.svg)](https://github.com/exceljs/exceljs/actions?query=workflow%3AExcelJS)
[![Code Quality: Javascript](https://img.shields.io/lgtm/grade/javascript/g/exceljs/exceljs.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/exceljs/exceljs/context:javascript)
[![Total Alerts](https://img.shields.io/lgtm/alerts/g/exceljs/exceljs.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/exceljs/exceljs/alerts)
Read, manipulate and write spreadsheet data and styles to XLSX and JSON.
Reverse engineered from Excel spreadsheet files as a project.
# Translations
* [中文文档](README_zh.md)
# Installation
```shell
npm install exceljs
```
# New Features!
<ul>
<li>
Merged <a href="https://github.com/exceljs/exceljs/pull/1656">Add TS declarations of Workbook properties #1656</a>.
Many thanks to <a href="https://github.com/kaoths">Tanawit Kritwongwiman</a> for this contribution.
</li>
<li>
Merged <a href="https://github.com/exceljs/exceljs/pull/201">Fix issue #178 #201</a>.
Many thanks to <a href="https://github.com/stavenko">Vasiliy Stavenko</a> for this contribution.
</li>
<li>
Merged <a href="https://github.com/exceljs/exceljs/pull/1649">doc: add example for solid pattern usage #1649</a>.
Many thanks to <a href="https://github.com/fpaupier">fpaupier</a> for this contribution.
</li>
<li>
Merged <a href="https://github.com/exceljs/exceljs/pull/1629">Add type definition for lastColumn property (fixes #1453) #1629</a>.
Fixes <a href="https://github.com/exceljs/exceljs/issues/1453">Add type for property of worsheet.lastcolumn #1453</a>.
Many thanks to <a href="https://github.com/masterzeus05">Daniel Gonçalves</a> for this contribution.
</li>
<li>
Merged <a href="https://github.com/exceljs/exceljs/pull/1599">fix #1598 lint violations #1599</a>.
Fixes <a href="https://github.com/exceljs/exceljs/issues/1598">[BUG] npm run lint reports multiple violations #1598</a>.
Many thanks to <a href="https://github.com/iva2k">Ilya I</a> for this contribution.
</li>
<li>
Merged <a href="https://github.com/exceljs/exceljs/pull/1133">Update @types/node version to latest lts #1133</a>.
Fixes <a href="https://github.com/exceljs/exceljs/issues/971">ERROR in node_modules/exceljs/index.d.ts(1648,34): error TS2503: Cannot find namespace 'NodeJS'. #971</a>
and <a href="https://github.com/exceljs/exceljs/issues/997">ERROR in node_modules/exceljs/index.d.ts(1661,34): error TS2503: Cannot find namespace 'NodeJS'. #997</a>.
Many thanks to <a href="https://github.com/Siemienik">Siemienik Pawel</a> for this contribution.
</li>
<li>
Merged <a href="https://github.com/exceljs/exceljs/pull/1731">Added Node v16 to the test suite #1731</a>.
Many thanks to <a href="https://github.com/alexbjorlig">Alex Bjørlig</a> for this contribution.
</li>
<li>
Merged <a href="https://github.com/exceljs/exceljs/pull/1708">Readme moment to dayjs #1708</a>.
Many thanks to <a href="https://github.com/jerebtw">Jerebtw</a> for this contribution.
</li>
<li>
Merged <a href="https://github.com/exceljs/exceljs/pull/602">Ability to set tooltip for hyperlink #602</a>.
Many thanks to <a href="https://github.com/kalexey89">Aleksey Kuznetsov</a> for this contribution.
</li>
<li>
Merged <a href="https://github.com/exceljs/exceljs/pull/1574">Fixed conditional format corrupting sheet #1305 #1574</a>.
Fixes <a href="https://github.com/exceljs/exceljs/issues/1305">[BUG] Errors when opening file in Excel after saving a file with conditional formatting #1305</a>.
Many thanks to <a href="https://github.com/rolandostar">Rolando Romero</a> for this contribution.
</li>
<li>
Merged <a href="https://github.com/exceljs/exceljs/pull/702">Improvements for images (correct reading/writing possitions) #702</a>.
Many thanks to <a href="https://github.com/Siemienik">Siemienik Pawel</a> for this contribution.
</li>
</ul>
# Contributions
Contributions are very welcome! It helps me know what features are desired or what bugs are causing the most pain.
I have just one request; If you submit a pull request for a bugfix, please add a unit-test or integration-test (in the spec folder) that catches the problem.
Even a PR that just has a failing test is fine - I can analyse what the test is doing and fix the code from that.
Note: Please try to avoid modifying the package version in a PR.
Versions are updated on release and any change will most likely result in merge collisions.
To be clear, all contributions added to this library will be included in the library's MIT licence.
# Contents
<ul>
<li><a href="#importing">Importing</a></li>
<li>
<a href="#interface">Interface</a>
<ul>
<li><a href="#create-a-workbook">Create a Workbook</a></li>
<li><a href="#set-workbook-properties">Set Workbook Properties</a></li>
<li><a href="#workbook-views">Workbook Views</a></li>
<li><a href="#add-a-worksheet">Add a Worksheet</a></li>
<li><a href="#remove-a-worksheet">Remove a Worksheet</a></li>
<li><a href="#access-worksheets">Access Worksheets</a></li>
<li><a href="#worksheet-state">Worksheet State</a></li>
<li><a href="#worksheet-properties">Worksheet Properties</a></li>
<li><a href="#page-setup">Page Setup</a></li>
<li><a href="#headers-and-footers">Headers and Footers</a></li>
<li>
<a href="#worksheet-views">Worksheet Views</a>
<ul>
<li><a href="#frozen-views">Frozen Views</a></li>
<li><a href="#split-views">Split Views</a></li>
</ul>
</li>
<li><a href="#auto-filters">Auto Filters</a></li>
<li><a href="#columns">Columns</a></li>
<li><a href="#rows">Rows</a>
<ul>
<li><a href="#add-rows">Add Rows</a></li>
<li><a href="#handling-individual-cells">Handling Individual Cells</a></li>
<li><a href="#merged-cells">Merged Cells</a></li>
<li><a href="#insert-rows">Insert Rows</a></li>
<li><a href="#splice">Splice</a></li>
<li><a href="#duplicate-a-row">Duplicate Row</a></li>
</ul>
</li>
<li><a href="#defined-names">Defined Names</a></li>
<li><a href="#data-validations">Data Validations</a></li>
<li><a href="#cell-comments">Cell Comments</a></li>
<li><a href="#tables">Tables</a></li>
<li><a href="#styles">Styles</a>
<ul>
<li><a href="#number-formats">Number Formats</a></li>
<li><a href="#fonts">Fonts</a></li>
<li><a href="#alignment">Alignment</a></li>
<li><a href="#borders">Borders</a></li>
<li><a href="#fills">Fills</a></li>
<li><a href="#rich-text">Rich Text</a></li>
</ul>
</li>
<li><a href="#conditional-formatting">Conditional Formatting</a></li>
<li><a href="#outline-levels">Outline Levels</a></li>
<li><a href="#images">Images</a></li>
<li><a href="#sheet-protection">Sheet Protection</a></li>
<li><a href="#file-io">File I/O</a>
<ul>
<li><a href="#xlsx">XLSX</a>
<ul>
<li><a href="#reading-xlsx">Reading XLSX</a></li>
<li><a href="#writing-xlsx">Writing XLSX</a></li>
</ul>
</li>
<li><a href="#csv">CSV</a>
<ul>
<li><a href="#reading-csv">Reading CSV</a></li>
<li><a href="#writing-csv">Writing CSV</a></li>
</ul>
</li>
<li><a href="#streaming-io">Streaming I/O</a>
<ul>
<li><a href="#reading-csv">Streaming XLSX</a></li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
<li><a href="#browser
没有合适的资源?快使用搜索试试~ 我知道了~
vue使用luckyexcel实现在线表格
共22441个文件
js:14901个
md:1824个
json:1736个
需积分: 5 11 下载量 50 浏览量
2022-08-03
16:13:38
上传
评论 1
收藏 44.18MB ZIP 举报
温馨提示
vue使用luckyexcel实现在线表格
资源详情
资源评论
资源推荐
收起资源包目录
vue使用luckyexcel实现在线表格 (22441个子文件)
0a13a0cf2f4ca1dfcedc84e0fdb1f9913483cb 733B
0eec2715e054bd7d32f38f23cb12c1d49ad879 300B
sshpk-conv.1 4KB
he.1 3KB
jsesc.1 3KB
jsesc.1 3KB
sshpk-sign.1 2KB
sshpk-verify.1 2KB
cssesc.1 2KB
10c6a45035b6573151ff6196e4bdea78deb75d 53B
134ab351cc394f3efac2e15260f8a8e6807434 253B
2aa6029528aa4886f9e45e102353fa2e6ff248 83B
2b916928b6051df5dc7286ead3e04ee067f4ab 126B
36fcfb72584e00488330b560ebcf34a41c64c2 979B
3adbc1e527906a4aa59558cd582c20bcd1d738 160B
439048979c962a48128b2c5c4c90711282836d 323B
4cdcd855cdcbfe33ac6782a0225f89dd48ee31 324B
5345696713d1bf0ab7b359da6ec17acf417b2d 154B
558405fdcc02f12d757acb308e02937a7444f1 82B
5a13962197105f2078d2a224cc57dfa09b4893 383B
99305c8f308578d45569373ffbe0d752f99cbe 53B
9bb19cde70d856efc990ed721a8ccb46cbb8b7 237B
_gitignore 670B
a28070de24f2055171ca2e20543881cb7fdf1c 85B
acorn 298B
acorn 298B
acorn 62B
acorn 62B
adler32 316B
ansi-html 2KB
ansi-html 334B
openChrome.applescript 2KB
atob 315B
atob 300B
AUTHORS 351B
AUTHORS 217B
AUTHORS 203B
AUTHORS 169B
AUTHORS 152B
AUTHORS 152B
AUTHORS 139B
AUTHORS 106B
.auto-changelog 113B
autoprefixer 540B
autoprefixer 326B
.babelrc 164B
.babelrc 68B
.babelrc 57B
.babelrc 55B
.babelrc 30B
README.md.bak 7KB
benchmark 692B
bf960e214e73e5513e054ac34c331b6d4b1a46 88B
range.bnf 619B
range.bnf 619B
range.bnf 619B
range.bnf 619B
range.bnf 619B
range.bnf 619B
browserslist 327B
browserslist 321B
browserslist 321B
browserslist 321B
browserslist 321B
browserslist 321B
browserslist 321B
browserslist 321B
browserslist 321B
browserslist 306B
browserslist-lint 326B
LICENSE.BSD 1KB
LICENSE.BSD 1KB
LICENSE.BSD 1KB
LICENSE.BSD 1KB
LICENSE.BSD 1KB
ChangeLog 10KB
Changelog 8KB
index.cjs 105KB
index.cjs 41KB
node-ipc.cjs 36KB
index.cjs 10KB
index.cjs 7KB
index.cjs 1KB
webpack-dev-server.cmd 349B
webpack-bundle-analyzer.cmd 348B
vue-cli-service.cmd 344B
parser.cmd 338B
ansi-html.cmd 338B
miller-rabin.cmd 334B
autoprefixer.cmd 334B
browserslist-lint.cmd 334B
import-local-fixture.cmd 333B
highlight.cmd 332B
esvalidate.cmd 330B
codepage.cmd 330B
opener.cmd 329B
prettier.cmd 329B
adler32.cmd 329B
sshpk-verify.cmd 327B
regjsparser.cmd 327B
共 22441 条
- 1
- 2
- 3
- 4
- 5
- 6
- 225
看点博客
- 粉丝: 48
- 资源: 6
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论0