@corbe30/fortune-excel 1.0.5 → 1.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +8 -9
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,9 +1,6 @@
|
|
|
1
1
|
# FortuneExcel
|
|
2
2
|
|
|
3
|
-
FortuneExcel is an import/export library for [FortuneSheet](https://github.com/ruilisi/fortune-sheet/).
|
|
4
|
-
It only supports .xlsx format files (not .xls).
|
|
5
|
-
|
|
6
|
-
It is a fork of (now archived) [FortuneSheetExcel](https://github.com/zenmrp/FortuneSheetExcel).
|
|
3
|
+
FortuneExcel is an import/export library for [FortuneSheet](https://github.com/ruilisi/fortune-sheet/). It only supports .xlsx files (not .xls).
|
|
7
4
|
|
|
8
5
|
## Features
|
|
9
6
|
|
|
@@ -18,8 +15,13 @@ Supports the following spreadsheet features in import/export:
|
|
|
18
15
|
|
|
19
16
|
For best results, import and export a single sheet at a time. Although you can force FortuneExcel to handle multiple sheets, certain configurations may break.
|
|
20
17
|
|
|
21
|
-
|
|
22
|
-
|
|
18
|
+
1. Install the package:
|
|
19
|
+
```js
|
|
20
|
+
npm i @corbe30/fortune-excel
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
2. Add import/export toolbar item in fortune-sheet
|
|
24
|
+
> `<ImportHelper />` is a hidden component and only required when using `importToolBarItem()`.
|
|
23
25
|
```js
|
|
24
26
|
import { importToolBarItem, ImportHelper, exportToolBarItem } from "fortune-excel";
|
|
25
27
|
|
|
@@ -42,9 +44,6 @@ function App() {
|
|
|
42
44
|
}
|
|
43
45
|
```
|
|
44
46
|
|
|
45
|
-
### Node backend
|
|
46
|
-
to be updated
|
|
47
|
-
|
|
48
47
|
## Authors and acknowledgment
|
|
49
48
|
|
|
50
49
|
- [@Corbe30](https://github.com/Corbe30)
|