officeparser 3.1.2 → 3.1.4
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 +4 -5
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -12,7 +12,7 @@ A Node.js library to parse text out of any office file.
|
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
#### Update
|
|
15
|
-
* 2022/12/
|
|
15
|
+
* 2022/12/28 - Added command line method to use officeParser with or without installing it and instantly get parsed content on the console.
|
|
16
16
|
* 2022/12/10 - Fixed memory leak issues, bugs related to parsing open document files and improved error handling.
|
|
17
17
|
* 2021/11/21 - Added promise way to existing callback functions.
|
|
18
18
|
* 2020/06/01 - Added error handling and console.log enable/disable methods. Default is set at enabled. Everything backward compatible.
|
|
@@ -35,13 +35,12 @@ npm i officeparser
|
|
|
35
35
|
```
|
|
36
36
|
|
|
37
37
|
## Command Line usage
|
|
38
|
-
If you
|
|
39
|
-
for extracting content from a file sampleFile
|
|
38
|
+
If you want to call the installed officeParser.js file, use below command
|
|
40
39
|
```
|
|
41
|
-
node officeParser.js <fileName>
|
|
40
|
+
node </path/to/officeParser.js> <fileName>
|
|
42
41
|
```
|
|
43
42
|
|
|
44
|
-
|
|
43
|
+
Otherwise, you can simply use npx to instantly extract parsed data.
|
|
45
44
|
```
|
|
46
45
|
npx officeparser <fileName>
|
|
47
46
|
```
|
package/package.json
CHANGED