{"_id":"grapesjs-plugin-export","_rev":"11-f7be3cccf39e633b8dc8a8cb6753c80c","name":"grapesjs-plugin-export","description":"Export GrapesJS templates to ZIP","dist-tags":{"latest":"1.0.12"},"versions":{"0.1.1":{"name":"grapesjs-plugin-export","version":"0.1.1","description":"Export GrapesJS templates to ZIP","main":"index.js","scripts":{"lint":"eslint src","test":"mocha --compilers js:babel-core/register --recursive ./test/*.js","test:dev":"mocha --compilers js:babel-core/register --recursive -R min -w ./test/*.js","build":"WEBPACK_ENV=prod && webpack","start":"WEBPACK_ENV=dev ./node_modules/.bin/webpack-dev-server --progress --colors"},"keywords":["grapesjs","template","export","zip"],"author":{"name":"Artur Arseniev"},"license":"BSD-3-Clause","devDependencies":{"babel-cli":"^6.11.4","babel-core":"^6.13.2","babel-eslint":"^6.1.2","babel-loader":"^6.2.4","babel-preset-es2015":"^6.13.2","eslint":"^3.2.2","grapesjs":"^0.3.2","mocha":"^3.0.2","webpack":"^1.13.1","webpack-dev-server":"^1.14.1"},"dependencies":{"blueimp-load-image":"^2.6.1","file-saver":"^1.3.2","jszip":"^3.0.0"},"gitHead":"cf9be1ca158a5cf85ccad9a24318caef2f19cf76","_id":"grapesjs-plugin-export@0.1.1","_shasum":"bbe45414cadd362c78040c9aaa20c71846ae8467","_from":".","_npmVersion":"3.6.0","_nodeVersion":"5.6.0","_npmUser":{"name":"artf","email":"artur.catch@hotmail.it"},"dist":{"shasum":"bbe45414cadd362c78040c9aaa20c71846ae8467","tarball":"https://registry.npmjs.org/grapesjs-plugin-export/-/grapesjs-plugin-export-0.1.1.tgz","integrity":"sha512-SaphQJ3VU07BrOchHzOLn5tjVNo4xGhttDHHjBKGMLUqolfSsMRdXAkmVyyrY0WpcjAsVtsHj+ZT7Rikw4QSjg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC+fpJi1aLhTrkqeFQ69G3XZRo27/hnINP8ytm42arajQIhAOHOOdt0AQ8xnprssYPIu/I187hYLFfyML9dM2WPEmD4"}]},"maintainers":[{"name":"artf","email":"artur.catch@hotmail.it"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/grapesjs-plugin-export-0.1.1.tgz_1470702046553_0.4212241501081735"},"directories":{}},"0.1.2":{"name":"grapesjs-plugin-export","version":"0.1.2","description":"Export GrapesJS templates to ZIP","main":"index.js","scripts":{"lint":"eslint src","test":"mocha --compilers js:babel-core/register --recursive ./test/*.js","test:dev":"mocha --compilers js:babel-core/register --recursive -R min -w ./test/*.js","build":"WEBPACK_ENV=prod && webpack","start":"WEBPACK_ENV=dev ./node_modules/.bin/webpack-dev-server --progress --colors"},"keywords":["grapesjs","template","export","zip"],"author":{"name":"Artur Arseniev"},"license":"BSD-3-Clause","devDependencies":{"babel-cli":"^6.11.4","babel-core":"^6.13.2","babel-eslint":"^6.1.2","babel-loader":"^6.2.4","babel-preset-es2015":"^6.13.2","eslint":"^3.2.2","grapesjs":"^0.3.2","mocha":"^3.0.2","webpack":"^1.13.1","webpack-dev-server":"^1.14.1"},"dependencies":{"file-saver":"^1.3.2","jszip":"^3.0.0"},"gitHead":"d702b63a3d334335609831f8748ecd7c800f0f7f","_id":"grapesjs-plugin-export@0.1.2","_shasum":"98355da07d3831f92abf50f6f50ef28a764904a4","_from":".","_npmVersion":"3.6.0","_nodeVersion":"5.6.0","_npmUser":{"name":"artf","email":"artur.catch@hotmail.it"},"dist":{"shasum":"98355da07d3831f92abf50f6f50ef28a764904a4","tarball":"https://registry.npmjs.org/grapesjs-plugin-export/-/grapesjs-plugin-export-0.1.2.tgz","integrity":"sha512-xcuEgLT4MBpUSWH7xJEISTCKrCPqWkTJjxgfx5Ugrfdi0FX/8pc4RZGG5havHugdVn7Q6ktMsbUzsHg32c+NCg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDk16NaBMZsWCqPzjy8n+RgtIa5Uh1qg/Ko3BkcWFSiJAiBUlTyafEJl8W6gxQciBiRJ+7LdFNS4YO+LXD1TGUOcBQ=="}]},"maintainers":[{"name":"artf","email":"artur.catch@hotmail.it"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/grapesjs-plugin-export-0.1.2.tgz_1472558560306_0.39804690959863365"},"directories":{}},"0.1.5":{"name":"grapesjs-plugin-export","version":"0.1.5","description":"Export GrapesJS templates to ZIP","main":"dist/grapesjs-plugin-export.min.js","scripts":{"lint":"eslint src","build":"npm run v:patch && webpack --env.production","v:patch":"npm version --no-git-tag-version patch","start":"webpack-dev-server --open --progress --colors"},"repository":{"type":"git","url":"git+https://github.com/artf/grapesjs-plugin-export.git"},"keywords":["grapesjs","template","export","zip"],"author":{"name":"Artur Arseniev"},"license":"BSD-3-Clause","babel":{"presets":["env"],"plugins":["transform-object-rest-spread"]},"peerDependencies":{"grapesjs":"0.x"},"dependencies":{"file-saver":"^1.3.2","jszip":"^3.0.0"},"devDependencies":{"babel-core":"^6.26.0","babel-loader":"^7.1.2","babel-plugin-transform-object-rest-spread":"^6.26.0","babel-preset-env":"^1.6.1","html-webpack-plugin":"^2.30.1","eslint":"^4.1.1","webpack":"^3.8.1","webpack-dev-server":"^2.9.4"},"gitHead":"6a3b0c63f29e615857be49136c12a16aa487370c","bugs":{"url":"https://github.com/artf/grapesjs-plugin-export/issues"},"homepage":"https://github.com/artf/grapesjs-plugin-export#readme","_id":"grapesjs-plugin-export@0.1.5","_npmVersion":"5.5.1","_nodeVersion":"7.6.0","_npmUser":{"name":"artf","email":"artur.catch@hotmail.it"},"dist":{"integrity":"sha512-BgvPY68vIDxVv0Z3v1TTikHseMxbfvUvhk5qUHq3a9kFmc2sFfNA6f5NHP9A4v3Tnd4kuwOd2aIn+QNutZrLRg==","shasum":"968631d8d22abdd1d05f14fa30ad86105690ce23","tarball":"https://registry.npmjs.org/grapesjs-plugin-export/-/grapesjs-plugin-export-0.1.5.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDIA5q77WBgxrs9QC5Rx414iWiLenmhddain07b73uz3wIgNdDWVa5Zf+Z/VA5FDwePW5eLlxc4XPDywYSwvNwO52g="}]},"maintainers":[{"name":"artf","email":"artur.catch@hotmail.it"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/grapesjs-plugin-export-0.1.5.tgz_1511103606652_0.4865297700744122"},"directories":{}},"1.0.5":{"name":"grapesjs-plugin-export","version":"1.0.5","description":"Export GrapesJS templates to ZIP","main":"dist/grapesjs-plugin-export.min.js","scripts":{"lint":"eslint src","build":"npm run v:patch && webpack --env.production","v:patch":"npm version --no-git-tag-version patch","start":"webpack-dev-server --open --progress --colors"},"repository":{"type":"git","url":"git+https://github.com/artf/grapesjs-plugin-export.git"},"keywords":["grapesjs","template","export","zip"],"author":{"name":"Artur Arseniev"},"license":"BSD-3-Clause","babel":{"presets":["env"],"plugins":["transform-object-rest-spread","transform-runtime"]},"dependencies":{"file-saver":"^1.3.8","jszip":"^3.0.0"},"devDependencies":{"babel-core":"^6.26.3","babel-loader":"^7.1.2","babel-plugin-transform-object-rest-spread":"^6.26.0","babel-plugin-transform-runtime":"^6.23.0","babel-preset-env":"^1.7.0","eslint":"^5.5.0","html-webpack-plugin":"^3.2.0","webpack":"^4.18.1","webpack-cli":"^3.1.0","webpack-dev-server":"^3.1.8"},"gitHead":"d0362f61f0dcdbc4447f208386297fa6225fe7de","bugs":{"url":"https://github.com/artf/grapesjs-plugin-export/issues"},"homepage":"https://github.com/artf/grapesjs-plugin-export#readme","_id":"grapesjs-plugin-export@1.0.5","_npmVersion":"6.2.0","_nodeVersion":"8.9.4","_npmUser":{"name":"artf","email":"artur.catch@hotmail.it"},"dist":{"integrity":"sha512-jmM39UAf4ilwkmQCc6KJgSCVxzF7EtFICdA94K/WFB6ervnfC8O+9XrXfdzV8gWoAH3dlGWS3wTyC0azwvMrGw==","shasum":"aac5608e4b6ce348027c9e1fe6f83547d3b0ab74","tarball":"https://registry.npmjs.org/grapesjs-plugin-export/-/grapesjs-plugin-export-1.0.5.tgz","fileCount":8,"unpackedSize":1123441,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbo/9UCRA9TVsSAnZWagAAiAUP/30zLP5DsJL8A76nvZR3\nS4CYRPSavT8ZHF6UP28znzDCpfeCWAwQN6SejbRL2toZCnbRhWWDXA10SX0R\nsi5078QUv0BfpH3CeIqtjnGfaFxCRJI0aSgpb5M+viwPBqeNAVOrNLUq5+cP\n8AVSi91wHJypMIepevOmJVeBAoyNeaZSIM9XLyc4Enpui9yyc7GQC5fqoNcm\nU8rsGWVs/+nLdKUy+OsnU+uZBsYpsw+EsPbGH82IV/BcbBYCj+FWkPdC7l6b\nj1glxT7fF6wmFVY+bsMh1cMHcswuv2kmjT4h6hmBTSp4ocgCVKe9c5RoN+zw\nssMYdWIbjXnW2JDYpYUmXNJ+lwrCEWfg9uscn9sS8Dv/1Z1/EGHXB6xKGuxQ\nntcC7VVWa+wLgx5Y39nXINAPzJdJpJbYcqW756VKW0XPJd1ddfN6CoBICOvp\nMDpngO9uUOwvW78NVNZzvr3HMLGoL8c+RTLLuc32nCt+pF/8OmfLjj8ipc3e\nTdAEGypQlmQQ7AlR/ozR8PblmbmkmXro4KyjGjaAJT7rX9pB90OpGyhxiJUb\nXgQSLxf2NfVQcv5iRwH7wj1mQZiuwRwqu+fYsLo4i008WO8mDvVJZUM9kP9C\nPMvXcAV6JFw3FTDKbd7a2EZobmHpBBbAw6ZTD5omb7KbNDkGjCZsagrgOkIv\nSSDb\r\n=BoZY\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDGnwON24BKQ5GdXTtJjtw1apkr0aZD9zdWj7/j24xmFwIhAKg0VDw0twUsW/5mXZLsqc6BY+1wNtUN67wCGhRzOJDC"}]},"maintainers":[{"name":"artf","email":"artur.catch@hotmail.it"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/grapesjs-plugin-export_1.0.5_1537474387350_0.5714657024052434"},"_hasShrinkwrap":false},"1.0.7":{"name":"grapesjs-plugin-export","version":"1.0.7","description":"Export GrapesJS templates to ZIP","main":"dist/grapesjs-plugin-export.min.js","scripts":{"lint":"eslint src","build":"npm run v:patch && webpack --env.production","v:patch":"npm version --no-git-tag-version patch","start":"webpack-dev-server --open --progress --colors"},"repository":{"type":"git","url":"git+https://github.com/artf/grapesjs-plugin-export.git"},"keywords":["grapesjs","template","export","zip"],"author":{"name":"Artur Arseniev"},"license":"BSD-3-Clause","babel":{"presets":["env"],"plugins":["transform-object-rest-spread","transform-runtime"]},"dependencies":{"file-saver":"^1.3.8","jszip":"^3.0.0"},"devDependencies":{"babel-core":"^6.26.3","babel-loader":"^7.1.2","babel-plugin-transform-object-rest-spread":"^6.26.0","babel-plugin-transform-runtime":"^6.23.0","babel-preset-env":"^1.7.0","eslint":"^5.5.0","html-webpack-plugin":"^3.2.0","webpack":"^4.18.1","webpack-cli":"^3.1.0","webpack-dev-server":"^3.1.8"},"gitHead":"a0c55a77bfbc583c4d5eec459a3308c0b2192e07","bugs":{"url":"https://github.com/artf/grapesjs-plugin-export/issues"},"homepage":"https://github.com/artf/grapesjs-plugin-export#readme","_id":"grapesjs-plugin-export@1.0.7","_npmVersion":"6.2.0","_nodeVersion":"8.9.4","_npmUser":{"name":"artf","email":"artur.catch@hotmail.it"},"dist":{"integrity":"sha512-tOI/tAYZZndrHDZFN3uRzweVu6cwKrjUe1daOt8lzGDIXHez44Y+5BWlNWxR7i4cLheyn7DJJuarYrUQX+yD5g==","shasum":"186728253474d051578a8a5aaf016d8bfac52448","tarball":"https://registry.npmjs.org/grapesjs-plugin-export/-/grapesjs-plugin-export-1.0.7.tgz","fileCount":8,"unpackedSize":1125257,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbsOKpCRA9TVsSAnZWagAAJuMP/R5e+EybQI1MfICq5rHb\nVgFyWe/PnflQASFQYn0XbcazoxYCPpFE/KHeZoe6hSlKRcuXOODOqGQrDzBT\n3iszEoqeRMCnH2a/S+L6VSP6VWDSYf+6AXM6rNSwWFW/bGXQIFpnSRGEf5DV\nmeFZtiohjmdLqRkWStOOQePEQ8YsJgDZhe1zrp31AXC5v9a3fjRHg1yQCyQ8\nTSfMYxK4zXpekyWs5sW4NhEQHSZNw9mJxSzEhzvGsQupwj5Tw1ulLWZkOTWn\ndZAkC0E98ip3evn9fcJLYUPh/rLTuvjo7cVTjI1sHNjm7P5joChfnW2BK/ad\nDtLe8lNYcpNmI3NJmYLwsShKM6arR04U8wP9Yd2r5jEX/xzCU1+tW00tb8j6\nKqr7FbkyyWtgQr1aqx2tIBbjgPpMtz8lVW53LeETE8AIcExyWcSzDuz8sAIj\nP4P+WxiOfj2RHxSD8olsjbCKaEZ6hZVeNXUTOxy1qeKSkrk5sX9CVVO7y1iH\n7pjFCxQZCDDk6D4XK9P8fMKFc16eho9RlwvQWkqUK9qZJ5JzrXhAzZZfAUef\nEbb+rqkaLdP+Fln7lRvNu8pDS/HeEfcCFtHLuXTMAUs8WHx45sG1ZsSOIJe9\noaukUcuLfjFeAFq9UZ4VMwokVaVwbzGSiyqE5dwR1wyfw3tV1/ACm2jsjiM9\nqJcF\r\n=9lmY\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCzArI/q0iRjgZyDu/YtFEeYxIv+2wFXIhTpi6UFI0F+wIgbdI3UGQlW8S2YD/uPz+MswwyLMFGD5CmHY2/7TUQ9OE="}]},"maintainers":[{"name":"artf","email":"artur.catch@hotmail.it"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/grapesjs-plugin-export_1.0.7_1538319016622_0.6333491612234019"},"_hasShrinkwrap":false},"1.0.11":{"name":"grapesjs-plugin-export","version":"1.0.11","description":"Export GrapesJS templates to ZIP","main":"dist/index.js","scripts":{"start":"grapesjs-cli serve","build":"grapesjs-cli build"},"repository":{"type":"git","url":"git+https://github.com/artf/grapesjs-plugin-export.git"},"keywords":["grapesjs","template","export","zip"],"author":{"name":"Artur Arseniev"},"license":"BSD-3-Clause","devDependencies":{"@types/file-saver":"^2.0.5","file-saver":"^2.0.5","grapesjs":"^0.19.5","grapesjs-cli":"^3.0.1","jszip":"^3.10.1"},"gitHead":"0e706fd3e26ad3b99c8bd56238314f9e1ec039a4","bugs":{"url":"https://github.com/artf/grapesjs-plugin-export/issues"},"homepage":"https://github.com/artf/grapesjs-plugin-export#readme","_id":"grapesjs-plugin-export@1.0.11","_nodeVersion":"12.22.5","_npmVersion":"6.14.14","dist":{"integrity":"sha512-S444lO7v8jODJ/ApMHIEU2f63MRRHkq+1xarFU/PNwpp/43wwKTTySila+PZzVEQvlZFlVQxYA+qwoI337vwcg==","shasum":"1e025a0ad7f1499308d567e40188b5f74ae68749","tarball":"https://registry.npmjs.org/grapesjs-plugin-export/-/grapesjs-plugin-export-1.0.11.tgz","fileCount":6,"unpackedSize":365861,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGjokJEVi6YwPDl+R83MnqXj8RyQl6TuSPXwJKJNWjtrAiBiixbJhy0otU9BLO1dFfPevSJYh78J3PGbn4GSPwAUkA=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi68lyACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrT9hAAkBgXwj4ZTKRmhxvAg9zg0giNcOFvHLXyK+FIqOWv8Y+m9QTV\r\nCEj3G7YlMb53ylI6KXQopp2RQjiN6iYZ5m1t1vyvCn3GS48UuiPD35hqlw/+\r\noLBXtBhKtkngJgX349gzE5NKYS7GuxNrZwvxbUK9MeD9lJrzQRoUts2wMynd\r\n6KIXA0AWHf2IID4B28mKlMsPuFcTZi/B3o49xh80fANs9FOLAiWp0qrdgTMU\r\nkVNev4U3OsjqXrSg0PeLWoJ33tRmSTy1hYB2sHtJNcxXC1dvSA2hBKy+qRbG\r\nL0jN6LciPc2wvRBImdKZjZTcuFdOVNP1beHyay7aDdrfleToWphsMr1uYOnE\r\nG3eaomAYb5XNntVS8FlNPpM4ptJcc1rzzrQyTQlc4Mrh3h2and/yK3LydbNi\r\nxHv24R+Ya5pzNS80v0hpaH3ZC7LGZCXkuxN6NBXKyfMrHkvicZGgIm4w+FF+\r\nOqPQz9EhXTVW9yh9UW7cM/wIhnOLbhXAY9i/fYPuXG29/dfGEGeG14KzHv3h\r\ng2JnilsF7Ni48nTSZMkuVa72R5NvYOtF4+lQxH7Ps9j+f0VznEURp8K2XTd0\r\nuJSbVJLX6tnN8wTntwdvEJA0/1gBkQP5XOEVOQte/EHKQe4rEVh/Ppfz23rQ\r\nFuY8dzO4ab/MGZPhtINK4a/EU6oeYT3buHw=\r\n=gTf7\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"artf","email":"artur.catch@hotmail.it"},"directories":{},"maintainers":[{"name":"artf","email":"artur.catch@hotmail.it"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/grapesjs-plugin-export_1.0.11_1659619698433_0.112438151554074"},"_hasShrinkwrap":false},"1.0.12":{"name":"grapesjs-plugin-export","version":"1.0.12","description":"Export GrapesJS templates to ZIP","main":"dist/index.js","scripts":{"start":"grapesjs-cli serve","build":"grapesjs-cli build"},"repository":{"type":"git","url":"git+https://github.com/GrapesJS/export.git"},"keywords":["grapesjs","template","export","zip"],"author":{"name":"Artur Arseniev"},"license":"BSD-3-Clause","dependencies":{"@types/file-saver":"^2.0.5"},"devDependencies":{"file-saver":"^2.0.5","grapesjs":"^0.21.2","grapesjs-cli":"^4.1.1","jszip":"^3.10.1"},"gitHead":"8d63d2e5f95b34d3b1dde49cf57432fe959edcff","bugs":{"url":"https://github.com/GrapesJS/export/issues"},"homepage":"https://github.com/GrapesJS/export#readme","_id":"grapesjs-plugin-export@1.0.12","_nodeVersion":"14.17.5","_npmVersion":"6.14.14","dist":{"integrity":"sha512-q5rn1dwUYqPwDVnL9dhMxInk2SXWbrJ7OUUjFYk2LGJoT1laN3TZSDlDn/DVp9pCQd7fyHDgLdy8mvaVVmSh6g==","shasum":"1cfeab918c52a0711d06bc507cf977f8089a6d32","tarball":"https://registry.npmjs.org/grapesjs-plugin-export/-/grapesjs-plugin-export-1.0.12.tgz","fileCount":6,"unpackedSize":365526,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBARkK5ON67wjlABHmV9bvHM8jGTcTOCj6o9GkTMAD4xAiEAkeGK+quxXti8FpZduuJY1Zd/8cR3rDTKyqf+m3gJ7mw="}]},"_npmUser":{"name":"artf","email":"artur.catch@hotmail.it"},"directories":{},"maintainers":[{"name":"artf","email":"artur.catch@hotmail.it"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/grapesjs-plugin-export_1.0.12_1686564839185_0.7438948238461576"},"_hasShrinkwrap":false}},"readme":"# [GrapesJS Export](http://grapesjs.com)\n\nThis plugin adds the possibility to export template in a zip archive.\nDemo: http://grapesjs.com/demo.html\n\n\n\n## Summary\n\n* Plugin name: `grapesjs-plugin-export`\n* Commands: `gjs-export-zip`\n\n\n\n\n## Options\n\n|Option|Description|Default|\n|-|-|-\n| `addExportBtn` | Add a button inside the export dialog | `true` |\n| `btnLabel` | Label to the export button | `Export to ZIP` |\n| `filenamePfx` | ZIP filename prefix | `grapesjs_template` |\n| `filename` | Use a function to generate the filename, eg. `filename: editor => 'my-file.zip',` | `null` |\n| `root` | Use the root object to create the folder structure of your zip (async functions are supported), eg. `\n    {\n      css: {\n        'style.css': ed => ed.getCss(),\n        'some-file.txt': 'My custom content',\n      },\n      img: async ed => {\n        const images = await fetchImagesByStructue(ed.getComponents());\n        return images;\n        // Where `images` is an object like this:\n        // { 'img1.png': '...png content', 'img2.jpg': '...jpg content' }\n      },\n      'index.html': ed => `<body>${ed.getHtml()}</body>`\n    }\n  `\n  | `{ ...check the source }` |\n\n\n\n\n\n## Download\n\n* CDN\n  * `https://unpkg.com/grapesjs-plugin-export`\n* NPM\n  * `npm i grapesjs-plugin-export`\n* GIT\n  * `git clone https://github.com/GrapesJS/export.git`\n\n\n\n\n\n## Usage\n\nDirectly in the browser\n```html\n<link href=\"https://unpkg.com/grapesjs/dist/css/grapes.min.css\" rel=\"stylesheet\"/>\n<script src=\"https://unpkg.com/grapesjs\"></script>\n<script src=\"path/to/grapesjs-plugin-export.min.js\"></script>\n\n<div id=\"gjs\"></div>\n\n<script type=\"text/javascript\">\n  var editor = grapesjs.init({\n      container : '#gjs',\n      // ...\n      plugins: ['grapesjs-plugin-export'],\n      pluginsOpts: {\n        'grapesjs-plugin-export': { /* options */ }\n      }\n  });\n\n  // You can also call the command wherever you want in this way\n  editor.runCommand('gjs-export-zip');\n</script>\n```\n\nModern javascript\n```js\nimport grapesjs from 'grapesjs';\nimport thePlugin from 'grapesjs-plugin-export';\n\nconst editor = grapesjs.init({\n  container : '#gjs',\n  // ...\n  plugins: [thePlugin],\n  pluginsOpts: {\n    [thePlugin]: { /* options */ }\n  }\n  // or\n  plugins: [\n    editor => thePlugin(editor, { /* options */ }),\n  ],\n});\n```\n\n\n\n\n\n## Development\n\nClone the repository\n\n```sh\n$ git clone https://github.com/GrapesJS/export.git.git\n$ cd grapesjs-plugin-export\n```\n\nInstall it\n\n```sh\n$ npm i\n```\n\nStart the dev server\n\n```sh\n$ npm start\n```\n\n\n\n## License\n\nBSD 3-Clause\n","maintainers":[{"name":"artf","email":"artur.catch@hotmail.it"}],"time":{"modified":"2023-06-12T10:13:59.489Z","created":"2016-08-09T00:20:49.061Z","0.1.1":"2016-08-09T00:20:49.061Z","0.1.2":"2016-08-30T12:02:42.325Z","0.1.5":"2017-11-19T15:00:07.700Z","1.0.5":"2018-09-20T20:13:07.556Z","1.0.7":"2018-09-30T14:50:16.878Z","1.0.11":"2022-08-04T13:28:18.586Z","1.0.12":"2023-06-12T10:13:59.379Z"},"keywords":["grapesjs","template","export","zip"],"author":{"name":"Artur Arseniev"},"license":"BSD-3-Clause","readmeFilename":"README.md","users":{"artf":true},"homepage":"https://github.com/GrapesJS/export#readme","repository":{"type":"git","url":"git+https://github.com/GrapesJS/export.git"},"bugs":{"url":"https://github.com/GrapesJS/export/issues"}}