Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/luandro/docx-unprotect
Remove protection from docx files
https://github.com/luandro/docx-unprotect
Last synced: about 6 hours ago
JSON representation
Remove protection from docx files
- Host: GitHub
- URL: https://github.com/luandro/docx-unprotect
- Owner: luandro
- Created: 2023-12-22T13:23:28.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-12-22T13:40:46.000Z (about 1 year ago)
- Last Synced: 2024-04-23T21:34:07.736Z (9 months ago)
- Language: JavaScript
- Size: 5.86 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# DocxUnprotect
Tool to unlock protected docx files that can't otherwise be edited.## Global Installation
To install DocxUnprotect globally on your system, ensuring that you have Node.js installed, run:
```bash
npm install -g docx-unprotect
```## Usage
To unprotect a DOCX file using the globally installed package, run the following command with the path to the protected DOCX file. Optionally, you can also provide the path where the unprotected DOCX file should be saved:
```bash
docx-unprotect [path-to-unprotected-docx]
```If you do not provide the path for the unprotected DOCX file, the script will automatically create an unprotected version in the same directory as the protected file.
## Debugging
If you encounter issues, you can enable debugging output by setting the `DEBUG` environment variable:
```bash
DEBUG=true node unprotectDocx.js
```This will print additional information to the console during the execution of the script.
## License
This project is open-source and available under the MIT License.