{"name":"word","version":"0.3.0","author":{"name":"sheetjs"},"description":"Word Processing Document library","keywords":["word"],"main":"./word","dependencies":{},"devDependencies":{},"repository":{"type":"git","url":"git://github.com/SheetJS/js-word.git"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"homepage":"https://wordjs.com/","bugs":{"url":"https://github.com/SheetJS/js-word/issues"},"license":"Apache-2.0","engines":{"node":">=0.8"},"gitHead":"08bf4fd23b8fa78c19661915e24d57459bf00bfa","_id":"word@0.3.0","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"sheetjs","email":"dev@sheetjs.com"},"dist":{"integrity":"sha512-OELeY0Q61OXpdUfTp+oweA/vtLVg5VDOXh+3he3PNzLGG/y0oylSOC1xRVj0+l4vQ3tj/bB1HVHv1ocXkQceFA==","shasum":"8542157e4f8e849f4a363a288992d47612db9961","tarball":"http://registry-npm.ywwl.com/word/download/word-0.3.0.tgz","fileCount":5,"unpackedSize":14085,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe+Df4CRA9TVsSAnZWagAAfS0QAJRH88O2VfdL1zK9BbFa\n/6q9WgF83G5NSKr5GfXjgEDJaNOZvTnWTWx7ZDtUpx/Xh7X9v8AbLzk0iSMN\nOuzeCARJWXrq65B+iUV/h5BOshgomHDgYnGdrVnJdf19LOJDROl16hSg7xNe\naxya9Fn8GMuoDDW7Fyq04OpGcZK9beioLUV3Whl7Odk+HPJuTIj0x6eidk39\nr38LH72fRDzUDMyjyI9GLDQzGLD8dHwHbxl+gikP1vBd+HRQXobzEl77or35\neWer9k9GCKoaig9UPP6rElJ7rp+q8rbvMVM9ZHG3y2QCAafqNKAVCCk/XUua\nGhgyk/XPo25kLFgjYOf1c5sh7xHB0VM5NX+P/CUFmH5+6SPhbfoI40RvE28e\nx2Lu8QXYnDksbHA4VICIIY5CBbApcHJRJRMBKluQOjVukQ5ekqcu7ooeW5AA\nAIztpy+I/w2puzqIkfEiSnq6QrUOsT13alBUlrxGfliFshWfKLBaLV018Mpb\njbpExf9hXru8k7mxFpNyjqR7SD8XzTzreZlz+UOqxBmeIO8LbM1xwTn3VCzJ\nRTi1FhMHa8yKKdVtU5acarKlfzm6pDT+SjGBOvEEUnf3KuZtehN+i2ssIxi9\ntBQUTBvPiCECXwf3ixl4uFoUOww6Tc8tlTkhjOEvScOQ6+hZbmkp8nBLhj9g\nuMXD\r\n=U2wx\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC6Wr35gw5H4Qw2G9jS5g7BWyWN7XQPRqRFQR5H/udRZgIgBAEZ3AUofPOtMaEgTV64uvh9dRJ5Slt5HqBsu/5EaS8="}],"size":5495,"noattachment":false,"key":"/word/-/word-0.3.0.tgz"},"maintainers":[{"email":"dev@sheetjs.com","name":"sheetjs"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/word_0.3.0_1593325559907_0.2789178467352931"},"_hasShrinkwrap":false,"readme":"# [SheetJS js-word](http://wordjs.com)\n\nParser and writer for various word processing doc formats. Pure-JS cleanroom\nimplementation from official specifications, related documents, and test files.\nEmphasis on parsing and writing robustness, cross-format feature compatibility\nwith a unified JS representation, and maximal browser compatibility.\n\n\n## Test Files\n\nTest files should be placed in the `test_files` directory, in the appropriate\nsubdirectory for the filetype.  For example, DOCX files should be placed in\n`test_files\\docx\\wordjs` and RTF files should be in `test_files\\rtf\\wordjs`.\n\nEvery test file should be accompanied by a plain text `.txt` representation\nwhose filename is the original filename appended with `.txt`.  For example, the\nDOCX file `test_files\\docx\\wordjs\\foo.docx` pairs with the plain text file `test_files\\docx\\wordjs\\foo.docx.txt`\n\n**Generating Baselines using Word for Windows**\n\n0. Ensure you have PowerShell version 7.0 or greater\n1. Run `Set-ExecutionPolicy RemoteSigned` OR `Set-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass` in Powershell (PS) Admin 7.0\n2. Have the PS script in the root of the repo\n3. Run `.\\generate_txt.ps1 .\\test_files\\EXT_TYPE\\FOLDER` (ex. `.\\generate_txt.ps1 .\\test_files\\docx\\apachepoi`)\n\nOn first run, if a test file does not have an accompanying `.txt` file, the\nscript will open Word and save the file as plaintext.  Word will rapidly open\nand close during this process.\n\nThe script will not attempt to open Word or try to generate `.txt` files if they\nalready exist.  After a clean run, Word should not open on future runs.\n\nThe script will halt for documents that are broken in certain ways.  Word will\ndisplay a prompt, stalling the automated process.  Those documents can be\nskipped by creating a `.skip` file as described below.\n\n\n**Skipping Files**\n\nThe script will look for files with the `.skip` extension and skip processing\nthe base file.  For example, if `test_files\\docx\\wordjs\\Hello.docx.skip` exists,\nthe script will not attempt to process `test_files\\docx\\wordjs\\Hello.docx`\n\nWhen the UI blocks (for example, on a VBA error with `ThisDocument`), the\ncorresponding `.skip` file should be created manually.  The script merely tests\nif the file exists, so the content is immaterial and a single letter suffices.\n\n**Generating `.skip` files**\n\nThe script will attempt to open password-protected documents using the password\n\"WordJS\".  The script will not halt but it will not generate a text file.  With\na few adjustments, the script can generate `.skip` files for those cases\n\n1. Uncomment [L27-29](https://github.com/SheetJS/js-word/blob/master/generate_txt.ps1#L27-L29) in the script\n2. Comment [L26](https://github.com/SheetJS/js-word/blob/master/generate_txt.ps1#L26) in the script\n3. Rerun the script\n4. Undo Step 1 and 2\n\n\n## License\n\nPlease consult the attached LICENSE file for details.  All rights not explicitly\ngranted by the Apache 2.0 License are reserved by the Original Author.\n\n\n## References\n\n<details>\n  <summary><b>OSP-covered Specifications</b> (click to show)</summary>\n\n - `MS-CFB`: Compound File Binary File Format\n - `MS-DOC`: Word (.doc) Binary File Format\n - `RTF`: Rich Text Format\n\n</details>\n\n- ISO/IEC 29500:2012(E) \"Information technology — Document description and processing languages — Office Open XML File Formats\"\n- Open Document Format for Office Applications Version 1.3 (25 December 2019)\n\n[![Analytics](https://ga-beacon.appspot.com/UA-36810333-1/SheetJS/js-word?pixel)](https://github.com/SheetJS/js-word)\n","publish_time":1593325560106,"_cnpm_publish_time":1593325560106,"dist-tags":{"latest":"0.4.0"}}