@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.
Files changed (2) hide show
  1. package/README.md +8 -9
  2. 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
- ### React frontend
22
- `ImportHelper` is a hidden component and only required when using `importToolBarItem`.
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)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@corbe30/fortune-excel",
3
- "version": "1.0.5",
3
+ "version": "1.0.6",
4
4
  "description": "An Excel import/export import library for FortuneSheet",
5
5
  "main": "dist/main.js",
6
6
  "types": "dist/main.d.ts",