@turbodocx/html-to-docx 1.9.1 → 1.9.3
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 +9 -12
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,24 +1,21 @@
|
|
|
1
|
+
[](https://www.turbodocx.com)
|
|
2
|
+
|
|
1
3
|
html-to-docx
|
|
2
4
|
============
|
|
3
|
-
|
|
4
5
|
[![NPM Version][npm-image]][npm-url]
|
|
5
6
|
|
|
6
|
-
html-to-docx is a
|
|
7
|
-
|
|
8
|
-
It was inspired by [html-docx-js] project but mitigates the problem of documents generated being non-compatiable with word processors like Google Docs and libreOffice Writer that doesn't support [altchunks] feature.
|
|
9
|
-
|
|
10
|
-
html-to-docx earlier used to use [libtidy] to clean up the html before parsing, but had to remove it since it was causing so many dependency issues due to node-gyp.
|
|
7
|
+
`html-to-docx` is a powerful JavaScript library designed to convert HTML documents to DOCX format, compatible with Microsoft Word 2007+, LibreOffice Writer, Google Docs, WPS Writer, and other word processors. Originally created by [@PrivateOmega]("https://github.com/privateOmega/"), this hard fork is now maintained and supported by TurboDocx to ensure ongoing development and improvements.
|
|
11
8
|
|
|
12
9
|
### Disclaimer
|
|
13
10
|
|
|
14
|
-
|
|
11
|
+
While `html-to-docx` is robust and used in production environments, it is continually evolving. Please ensure it meets your specific needs through thorough testing. Note that it currently does not work directly in the browser.
|
|
15
12
|
|
|
16
13
|
## Installation
|
|
17
14
|
|
|
18
15
|
Use the npm to install the project.
|
|
19
16
|
|
|
20
17
|
```bash
|
|
21
|
-
npm install html-to-docx
|
|
18
|
+
npm install @turbodocx/html-to-docx
|
|
22
19
|
```
|
|
23
20
|
|
|
24
21
|
## Usage
|
|
@@ -126,15 +123,15 @@ Pull requests are welcome. For major changes, please open an issue first to disc
|
|
|
126
123
|
Please make sure to branch new branches off of develop for contribution.
|
|
127
124
|
|
|
128
125
|
## Support
|
|
129
|
-
|
|
130
|
-
[](https://www.TurboDocx.com)
|
|
131
128
|
|
|
132
129
|
## License
|
|
133
130
|
|
|
134
131
|
MIT
|
|
135
132
|
|
|
136
|
-
[npm-image]: https://img.shields.io/npm/v/html-to-docx.svg
|
|
137
|
-
[npm-url]: https://npmjs.org/package/html-to-docx
|
|
133
|
+
[npm-image]: https://img.shields.io/npm/v/@turbodocx/html-to-docx.svg
|
|
134
|
+
[npm-url]: https://npmjs.org/package/@turbodocx/html-to-docx
|
|
138
135
|
[html-docx-js]: https://github.com/evidenceprime/html-docx-js "html-docx-js"
|
|
139
136
|
[altchunks]: https://docs.microsoft.com/en-us/dotnet/api/documentformat.openxml.wordprocessing.altchunk?view=openxml-2.8.1 "altchunks"
|
|
140
137
|
[libtidy]: https://github.com/jure/node-libtidy "libtidy"
|