{"_id":"@advisr/pptx-compose-2","_rev":"6-eeee4b8adc4b458654c5538f9bce3fc8","name":"@advisr/pptx-compose-2","dist-tags":{"latest":"1.0.3"},"versions":{"1.0.1":{"name":"@advisr/pptx-compose-2","version":"1.0.1","keywords":["pptx","pptx-composer","pptx-json","pptx-xml","ppt","pptx-to-json","pptx-to-xml"],"author":{"url":"https://shobh.it/","name":"Shobhit Sharma","email":"ishobhitsharma@gmail.com"},"license":"MIT","_id":"@advisr/pptx-compose-2@1.0.1","maintainers":[{"name":"jrohland","email":"jesse.rohland@gmail.com"}],"homepage":"https://github.com/advisr-io/pptx-compose#readme","bugs":{"url":"https://github.com/advisr-io/pptx-compose/issues"},"bin":{"pptx-compose-2":"lib/index.js"},"dist":{"shasum":"b16ecd89472388c2dd0e855842d8aecd3b47ae49","tarball":"https://registry.npmjs.org/@advisr/pptx-compose-2/-/pptx-compose-2-1.0.1.tgz","fileCount":11,"integrity":"sha512-e3DOEolICw2x9KGAk4hk5cpcL7HuXet7UJt9TyAkNF5tLQjCqW5Hw+pSNheE4jQzfuYrfib8PJcq7ALtArXTFw==","signatures":[{"sig":"MEQCIAYf7BI13wXKBtHVacHqeFNYPxwPUZ1rIx66ymDCjzQoAiAVPo6BsPtbfhpMCjdh75Jj14inAQFy3067Ubd2mAjI7g==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":14806,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiOiD8ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpRtg/9GDvdwMb4SuWopebXr0VUHsYTZCNbX6IiETJM4cMQZXflus0A\r\npGPFx1BKrtVw7MpntqSC+pxnr9NSzUN//HoUrgoWeD2MVCRYuF7I+1FTpxDW\r\n9CZENzWg4KqOVVjkhOGOp2jzQFcK6wUhlSjufBqY3ak4q/Kj3CA2+nghWBbh\r\nenmsnJF+H/9vnoXYCJ6icrd2HYNvwbJj/k/wm6lWy/mrk55RRg517QmzjNoh\r\neIvtCkfWscVTrycGWrQCwjSIGazglrizMIdjunMWHBqBWzrid7skx+Yr7QK+\r\no2PfV26WJN0418rlQl8PlFK9WRiRIFtPk5cXkVoSKjyADqlrv9cyN4SpqiWm\r\njR0ke/Vs1LlhbMnIuVYrqDCNunAl9fQ9/ACzGtWgv29WT2Ym6cY2oMuPQPRz\r\nskqS7g0Z11X0LyHt2YVEX48KZzdaSB6oAigRegmXDW+oxsuaTTKVHem3ufhO\r\nW1GNvGsS2ghO+bJtIBgwfoO/50DngS0zNYrVzLCgBM4+4H5ejoQF+HNn/obl\r\nJhgnDhOEifGhCT4/NtJO7AOODJ4eNeZDVCqtbrgddiaRdBKruHTx2jf7n3vB\r\n2ZYq3XKk+WRuRh2TDeui6ZQYYXBT2PUUVdylWpQZkDsa1g2rJtgnH04oyDli\r\ntsKbb7hO2iPLyq8lxbCMsfgY1gkc5+HFeuk=\r\n=CifL\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","types":"lib/index.d.ts","engines":{"node":">=10.0.0"},"gitHead":"1fe89b2565a04ed78de3e28bd8020d423d64932f","scripts":{"dev":"tsc --watch","test":"jest","build":"tsc","test:report":"jest --coverage --coverageReporters=text-lcov | coveralls","test:coverage":"jest --coverage","semantic-release":"semantic-release"},"_npmUser":{"name":"jrohland","email":"jesse.rohland@gmail.com"},"repository":{"url":"git+https://github.com/advisr-io/pptx-compose.git","type":"git"},"_npmVersion":"8.1.2","description":"PPTX parser to JSON format","directories":{},"_nodeVersion":"16.13.1","dependencies":{"jszip":"3.7.1","xml2js":"0.4.23","commander":"5.1.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^26.0.1","ts-jest":"^26.1.0","coveralls":"^3.1.0","typescript":"^3.9.5","@types/jest":"^25.2.3","@types/node":"^14.0.11","jest-circus":"^26.0.1","@types/async":"^3.2.3","@types/xml2js":"^0.4.5","semantic-release":"^17.0.8","@semantic-release/git":"^9.0.0","semantic-release-gitmoji":"^1.3.4"},"_npmOperationalInternal":{"tmp":"tmp/pptx-compose-2_1.0.1_1647976700689_0.03142283931875145","host":"s3://npm-registry-packages"}},"1.0.2":{"name":"@advisr/pptx-compose-2","version":"1.0.2","keywords":["pptx","pptx-composer","pptx-json","pptx-xml","ppt","pptx-to-json","pptx-to-xml"],"author":{"url":"https://shobh.it/","name":"Shobhit Sharma","email":"ishobhitsharma@gmail.com"},"license":"MIT","_id":"@advisr/pptx-compose-2@1.0.2","maintainers":[{"name":"jrohland","email":"jesse.rohland@gmail.com"}],"homepage":"https://github.com/advisr-io/pptx-compose#readme","bugs":{"url":"https://github.com/advisr-io/pptx-compose/issues"},"bin":{"pptx-compose-2":"lib/index.js"},"dist":{"shasum":"f44ceba781e2d3546c40ac85b276dc4d888e90a0","tarball":"https://registry.npmjs.org/@advisr/pptx-compose-2/-/pptx-compose-2-1.0.2.tgz","fileCount":11,"integrity":"sha512-iuBvaymwqEtf9xLius/ZVXmE9TybL/kZMBcE2zrk0Xnp9BAKnGrYwQuBwyB8Ia43zzgWEL9ov5IZ/mM1aztkmg==","signatures":[{"sig":"MEUCIQCS4/33P0KCTFhH6q9LfkYKeTVTNifaG4yVFg7K64TYzwIgXiBJkg1oYLS5Te8p/N7JXQizJio7RAVSLtk5a67TIPs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":14809,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiRauGACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmqt4Q//Ro8mwabQcqJA/ehjF5CKzYdnNMC+UdYnJKriAh27PEAbTFhP\r\ngVUy8oRPRtQjh9mIy4w+M7EbpFzI1ec6oh53pmmwo/ywB9X8mRgIAmkMuI49\r\naYhi2FpQFxqOBeTAfRz0BaZRBOYGwKINQWdloUMfJo8xZDEqD4dhtKpnzBq1\r\nE2y22Ipe4USp1xXR7H/Mm4sPyilYyvQwe/nKVMsyZWIeO8j7GbF1eGn5ndqN\r\ngeR3b0TrEiROj+53VpUX5MVPJHhkvlrdXEs8Qj3e1sA12SJsGWLzv46ZxuGz\r\n1AevsMVMGnfNd1MJ0ay4zceAT6cu5T/s7oVFdd33pBRrQL48JxPP9oMM002B\r\n603WjJ5QLA4ZVr6fQoOumr2sSrE+vRO+Mb8vvwq26vhRDclKOvBsNzVrz3U6\r\nn2enuEDyierhi+nQQcGAlEnLNEQ+oESpvmXhowDYTsz7nOLtWPSYkH798w+s\r\n2cBkZBXR7b2jkBiqSunkSc/B8BM9NhgnR/QWS/z/AOUs0vDszeaTgj/2mC9E\r\nEGpxL/WYUtsWnS4/VkRz2aMSZsQ8+oFkEPOifUgYoR/4tOVcQ+ShkGNORd30\r\nhrjLShqAZBzrjsaQhkbWrjvio021Sts2wfyDyf/cOtR50Ue5keMg2CNf6y6P\r\n9Rj8/ZlvqcHjPUNLtsaBm/FIIZa5T4eQT8s=\r\n=weSg\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","types":"lib/index.d.ts","engines":{"node":">=10.0.0"},"gitHead":"a4ecf39852cf2bf0489a402bb1b828c46d6347cf","scripts":{"dev":"tsc --watch","test":"jest","build":"tsc","test:report":"jest --coverage --coverageReporters=text-lcov | coveralls","test:coverage":"jest --coverage","semantic-release":"semantic-release"},"_npmUser":{"name":"jrohland","email":"jesse.rohland@gmail.com"},"repository":{"url":"git+https://github.com/advisr-io/pptx-compose.git","type":"git"},"_npmVersion":"8.3.1","description":"PPTX parser to JSON format","directories":{},"_nodeVersion":"16.14.0","dependencies":{"jszip":"^3.8.0","xml2js":"^0.4.23","commander":"^5.1.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^26.0.1","ts-jest":"^26.1.0","coveralls":"^3.1.0","typescript":"^3.9.5","@types/jest":"^25.2.3","@types/node":"^14.0.11","jest-circus":"^26.0.1","@types/async":"^3.2.3","@types/xml2js":"^0.4.5","semantic-release":"^17.0.8","@semantic-release/git":"^9.0.0","semantic-release-gitmoji":"^1.3.4"},"_npmOperationalInternal":{"tmp":"tmp/pptx-compose-2_1.0.2_1648733062317_0.8431708021012949","host":"s3://npm-registry-packages"}},"1.0.3":{"name":"@advisr/pptx-compose-2","version":"1.0.3","keywords":["pptx","pptx-composer","pptx-json","pptx-xml","ppt","pptx-to-json","pptx-to-xml"],"author":{"url":"https://shobh.it/","name":"Shobhit Sharma","email":"ishobhitsharma@gmail.com"},"license":"MIT","_id":"@advisr/pptx-compose-2@1.0.3","maintainers":[{"name":"jonstorer","email":"jonathon.scott.storer@gmail.com"},{"name":"jrohland","email":"jesse.rohland@gmail.com"}],"homepage":"https://github.com/advisr-io/pptx-compose#readme","bugs":{"url":"https://github.com/advisr-io/pptx-compose/issues"},"bin":{"pptx-compose-2":"lib/index.js"},"dist":{"shasum":"b7c7889ee284403ecae228aaf8bc251d0d5720da","tarball":"https://registry.npmjs.org/@advisr/pptx-compose-2/-/pptx-compose-2-1.0.3.tgz","fileCount":11,"integrity":"sha512-1Mlep7kL0/vd8PfxFoPz/8VnArDEvztt3cKhRTYoQsh5MYopcN10/xfUaqcP/pOXrHqCRu0m0Lwob6+8xc1W3A==","signatures":[{"sig":"MEQCIAFNANdZz+DOD8szqV9IVdJVJ2N0rqChilN4quKJXOeuAiAwDy4sBEG1zmwlQr86Z5zkqyjwjTxXF4XbOupWGAYxxA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":14810},"main":"lib/index.js","types":"lib/index.d.ts","engines":{"node":">=10.0.0"},"gitHead":"0fc59ed476f5f08431ae42b4a88f8f252862d77d","scripts":{"dev":"tsc --watch","test":"jest","build":"tsc","test:report":"jest --coverage --coverageReporters=text-lcov | coveralls","test:coverage":"jest --coverage","semantic-release":"semantic-release"},"_npmUser":{"name":"jrohland","email":"jesse.rohland@gmail.com"},"repository":{"url":"git+https://github.com/advisr-io/pptx-compose.git","type":"git"},"_npmVersion":"9.5.1","description":"PPTX parser to JSON format","directories":{},"_nodeVersion":"18.16.0","dependencies":{"jszip":"^3.10.1","xml2js":"^0.5.0","commander":"^5.1.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^26.0.1","ts-jest":"^26.1.0","coveralls":"^3.1.0","typescript":"^3.9.5","@types/jest":"^25.2.3","@types/node":"^14.0.11","jest-circus":"^26.0.1","@types/async":"^3.2.3","@types/xml2js":"^0.4.5","semantic-release":"^21.0.2","@semantic-release/git":"^10.0.1","semantic-release-gitmoji":"^1.3.4"},"_npmOperationalInternal":{"tmp":"tmp/pptx-compose-2_1.0.3_1684180506111_0.9226815782696851","host":"s3://npm-registry-packages"}}},"time":{"created":"2022-03-22T19:18:20.623Z","modified":"2025-07-17T12:25:05.179Z","1.0.1":"2022-03-22T19:18:20.841Z","1.0.2":"2022-03-31T13:24:22.498Z","1.0.3":"2023-05-15T19:55:06.222Z"},"bugs":{"url":"https://github.com/advisr-io/pptx-compose/issues"},"author":{"url":"https://shobh.it/","name":"Shobhit Sharma","email":"ishobhitsharma@gmail.com"},"license":"MIT","homepage":"https://github.com/advisr-io/pptx-compose#readme","keywords":["pptx","pptx-composer","pptx-json","pptx-xml","ppt","pptx-to-json","pptx-to-xml"],"repository":{"url":"git+https://github.com/advisr-io/pptx-compose.git","type":"git"},"description":"PPTX parser to JSON format","maintainers":[{"email":"jesse.rohland@gmail.com","name":"jrohland"}],"readme":"# pptx-compose [![npm version](https://badge.fury.io/js/pptx-compose.svg)](https://badge.fury.io/js/pptx-compose)\n\n> Parses Open Office XML generated PPTX to JSON\n\n## Install\n\n```\n$ npm install pptx-compose\n```\n\nSee [changelog here](https://github.com/shobhitsharma/pptx-compose/releases) for API updates and compatibility issues.\n\n## Usage\n\n```js\nimport PPTXCompose from \"pptx-compose\";\n\n// Initialize repo\nconst composer = new PPTXCompose(options);\n\n// Parses a PPTX file to JSON\nconst pptx = await composer.toJSON(\"/path/to/my.pptx\");\n\n// Parses JSON output to PPTX\nconst json = await composer.toPPTX(\"/path/to/my.json\");\n```\n\n## CLI\n\nComposer is able to generate JSON from PPTX source directly from CLI, run:\n\n```bash\n# Usage: convert [options] <input> <output>\n# Options:\n#   -V, --version  output the version number\n#   -i, --input    PPTX File\n#   -o, --output   Output JSON file (optional)\n#   -h, --help     display help for command\n\n$ node bin/convert ./path/to/my.pptx path/to/your/directory/generated.json\n```\n\n## Options\n\n| attribute             |                                                   type                                                    |      default |\n| --------------------- | :-------------------------------------------------------------------------------------------------------: | -----------: |\n| **jszipBinary**       | `\"nodebuffer\" / \"base64\" / \"text\" / \"binarystring\" /` \\ `\"array\" / \"uint8array\" / \"arraybuffer\" / \"blob\"` | `nodebuffer` |\n| **jszipGenerateType** | `\"nodebuffer\" / \"base64\" / \"text\" / \"binarystring\" /` \\ `\"array\" / \"uint8array\" / \"arraybuffer\" / \"blob\"` | `nodebuffer` |\n\n## Methods\n\nPPTX Composer has following built-in methods:\n\n### `.toJSON(<pptx_file_path>, <options{Options & { output: string }}>)`\n\nParse PowerPoint file to JSON.\n\n```js\nconst composer = new PPTXCompose();\n\n// Parses a PPTX file to JSON\nconst pptx = await composer.toJSON(\"/path/to/my.pptx\");\n\n// Convert a PPTX file to JSON file\ncomposer.toJSON(\"/path/to/my.pptx\", {\n  output: \"/path/to/output/file.pptx\",\n});\n```\n\n### `.toPPTX(<json>, <options{Options & { output: string }}>)`\n\nConvert JSON file to PPTX.\n\n```js\nconst composer = new PPTXCompose('{ \"my\": \"json\" ... }');\n\n// Parses JSON output to PPTX\nconst json = await composer.toPPTX(\"/path/to/my.json\");\n\n// Convert JSON to PPTX file\ncomposer.toJSON(\"/path/to/my.json\", {\n  output: \"/path/to/output/file.pptx\",\n});\n```\n\n## License\n\nMIT\n","readmeFilename":"README.md"}