{"_id":"filepond-plugin-pdf-preview","_rev":"8-e3c033a018a20a8e10541e8f68c82106","time":{"1.0.1":"2020-12-21T23:35:20.529Z","created":"2020-12-23T01:35:59.695Z","1.0.2":"2020-12-23T01:35:59.849Z","modified":"2022-05-02T09:54:34.687Z","1.0.3":"2021-05-10T22:37:04.138Z","1.0.4":"2021-05-11T00:17:05.395Z"},"name":"filepond-plugin-pdf-preview","dist-tags":{"latest":"1.0.4"},"versions":{"1.0.2":{"name":"filepond-plugin-pdf-preview","version":"1.0.2","description":"Pdf preview Plugin for FilePond","license":"MIT","author":{"name":"Adrian Glez"},"repository":{"type":"git","url":"git+https://github.com/Adri-Glez/filepond-plugin-pdf-preview.git"},"main":"dist/filepond-plugin-pdf-preview.js","browser":"dist/filepond-plugin-pdf-preview.js","module":"dist/filepond-plugin-pdf-preview.esm.js","keywords":["javascript","file","upload","drag","drop","browse","paste","image","preview","filepond","pdf"],"browserslist":["last 1 version and not Explorer 10","Explorer 11","iOS >= 9","Android >= 4.4"],"scripts":{"start":"npx rollup -c -w","build":"npm run scripts | npm run styles | npm run copy","scripts":"npx rollup -c","styles":"npm run styles:pretty && npm run styles:nano","styles:pretty":"cat src/css/* | npx node-sass | npx postcss --no-map --use autoprefixer | npx prettier --single-quote --parser css | node banner-cli.js FilePondPluginPdfPreview > dist/filepond-plugin-pdf-preview.css","styles:nano":"cat src/css/* | npx node-sass | npx postcss --no-map --use autoprefixer --use cssnano | node banner-cli.js FilePondPluginPdfPreview > dist/filepond-plugin-pdf-preview.min.css","copy":"cp -r src/images/ dist/images"},"peerDependencies":{"filepond":">=4.x <5.x"},"devDependencies":{"@babel/core":"^7.11.4","@babel/preset-env":"^7.11.0","autoprefixer":"^9.8.6","cssnano":"^4.1.10","node-sass":"^5","postcss-cli":"7.1.1","prettier":"^2.1.1","rollup":"^2.26.8","rollup-plugin-babel":"^4.4.0","rollup-plugin-commonjs":"^10.1.0","rollup-plugin-license":"^2.2.0","rollup-plugin-node-resolve":"^5.2.0","rollup-plugin-prettier":"^2.1.0","rollup-plugin-terser":"^7.0.1","dot-prop":">=4.2.1","lodash":">=4.17.19"},"bugs":{"url":"https://github.com/Adri-Glez/filepond-plugin-pdf-preview/issues"},"homepage":"https://github.com/Adri-Glez/filepond-plugin-pdf-preview#readme","dependencies":{"filepond":"^4.25.1"},"gitHead":"119d3853a0ae3c4ab70959154626d2f3ebef8db7","_id":"filepond-plugin-pdf-preview@1.0.2","_nodeVersion":"12.20.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-FEoKQMTFyU8TumTK80FRWGkPjuT4vw/Kt6ZzLWwlVkl2/IueC7D/yUEu0keb0JDkyTPd27TqTwqVs1ypBB+cXA==","shasum":"928b31e0e394372ea606c1138e237cd5b0187355","tarball":"https://registry.npmjs.org/filepond-plugin-pdf-preview/-/filepond-plugin-pdf-preview-1.0.2.tgz","fileCount":9,"unpackedSize":24429,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf4p8ACRA9TVsSAnZWagAArKoP/j/47JVzYX+vJ/lVn1sG\nbUykg8zUJ9ajqhku14byDKle7QpMkDZqj5WssguR3sztNI25accq/wBXW6W2\nl4tBU7Zu36P5PYHGsd7WsXhN9E6ZJNcV0VEoIw4woFBwiMt7Yo3+8QDXWJ8b\n8h0Diw3SYWhkkYhhvOLWmqN3rdD+voAHBLYhrQLarVcWpXBhmai3RQJs1fUz\nHkEPEj//biNsuU7TqhhcIXrG+KIP41WNqU+xc1wOfAZCRwSOzUJp3pjFWlpC\n9DG8JpoOcUmT7pxuR6lfdbzwCLruJ7Civ0xCv+wTw5873ALL92Y3zYBZRpZi\nshhGQeomsYlQK0mgcd5EOP6MKtKWKUKLPicczE6ErZYVL2vwNab6h+sXklpy\nxcQfjPFu9Xal9P5zaQAKXN6YRsWzIM6/cwjmdC8h2Pbi0tHHUWpZRw7MgL1t\nFk6hJEDyda9a+KCiTsItp+Qs+qHN+WKyArbZh66WlgORzMie1bnTalFZMMC1\nFl5KZnk4eVYCGNcIxo8GisSK5dgbcRDwT4pQTaNWR6lrlXaYv0Jh1KO7CkXG\nW/BeRG0Wak1FE6/XbV4LkzCcKAA7MnCcfOrLfNIPP+yU6XPcSeskreo9muiP\nivYnZyFh3qCX8l3F0K3T0BT0YyUyDrYbcqIhtU8VDZF0hnuskS67ix1LG/Wi\nOZe/\r\n=xfhP\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBoKqSUcSE31ykP17WDtW2MJeM72y7OUXR2XpEvrHtw3AiEA8GU7ZBEwXGeCwF+CvkXPCHPuMpeTgb4ls+BrFO3VK54="}]},"_npmUser":{"name":"adriglez","email":"it.adrian.gonzalez@gmail.com"},"directories":{},"maintainers":[{"name":"adriglez","email":"it.adrian.gonzalez@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/filepond-plugin-pdf-preview_1.0.2_1608687359696_0.1817648894397219"},"_hasShrinkwrap":false},"1.0.4":{"name":"filepond-plugin-pdf-preview","version":"1.0.4","description":"Pdf preview Plugin for FilePond","license":"MIT","author":{"name":"Adrian Glez"},"repository":{"type":"git","url":"git+https://github.com/Adri-Glez/filepond-plugin-pdf-preview.git"},"main":"dist/filepond-plugin-pdf-preview.js","browser":"dist/filepond-plugin-pdf-preview.js","module":"dist/filepond-plugin-pdf-preview.esm.js","keywords":["javascript","file","upload","drag","drop","browse","paste","image","preview","filepond","pdf"],"browserslist":["last 1 version and not Explorer 10","Explorer 11","iOS >= 9","Android >= 4.4"],"scripts":{"start":"npx rollup -c -w","build":"npm run scripts | npm run styles | npm run copy","scripts":"npx rollup -c","styles":"npm run styles:pretty && npm run styles:nano","styles:pretty":"cat src/css/* | npx node-sass | npx postcss --no-map --use autoprefixer | npx prettier --single-quote --parser css | node banner-cli.js FilePondPluginPdfPreview > dist/filepond-plugin-pdf-preview.css","styles:nano":"cat src/css/* | npx node-sass | npx postcss --no-map --use autoprefixer --use cssnano | node banner-cli.js FilePondPluginPdfPreview > dist/filepond-plugin-pdf-preview.min.css","copy":"cp -r src/images/ dist/images"},"peerDependencies":{"filepond":">=4.x <5.x"},"devDependencies":{"@babel/core":"^7.11.4","@babel/preset-env":"^7.11.0","autoprefixer":"^9.8.6","cssnano":"^4.1.10","node-sass":"^5","postcss-cli":"7.1.1","prettier":"^2.1.1","rollup":"^2.26.8","rollup-plugin-babel":"^4.4.0","rollup-plugin-commonjs":"^10.1.0","rollup-plugin-license":"^2.2.0","rollup-plugin-node-resolve":"^5.2.0","rollup-plugin-prettier":"^2.1.0","rollup-plugin-terser":"^7.0.1","dot-prop":">=4.2.1","lodash":">=4.17.19"},"bugs":{"url":"https://github.com/Adri-Glez/filepond-plugin-pdf-preview/issues"},"homepage":"https://github.com/Adri-Glez/filepond-plugin-pdf-preview#readme","dependencies":{"filepond":"^4.25.1"},"gitHead":"16e3c3151546d17091e45848d4376110e6f3874b","_id":"filepond-plugin-pdf-preview@1.0.4","_nodeVersion":"15.4.0","_npmVersion":"7.6.1","dist":{"integrity":"sha512-i1sMTfPMTirm5LWYfAihmbr/Ef9UWRNWNL3aKtmluZ+iTAtcNsJJOnXtbptRrF2ngrbr9vpXF5q9/bnCKkbuTA==","shasum":"22ef4c20c106e031b585121edb6c70056dd7dd0a","tarball":"https://registry.npmjs.org/filepond-plugin-pdf-preview/-/filepond-plugin-pdf-preview-1.0.4.tgz","fileCount":9,"unpackedSize":24493,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgmc0BCRA9TVsSAnZWagAAi1YP/RZMf1mumhGOMPRgYUj/\n+rrid8S4FWi1FCY4iCzGl4MBHi4ZbOwb/OuWwxXY6t/6f7ulleJb200ftMDZ\npXWyDE2/lMtBv3E9BilyUx7Uegk7bXLzfXWDSfej86wmZqqZxSU1/DIMankn\nzvYK1lNvElKI1axcL2Ea298pKLIKkzxOjwNJMzb8LO1qvyXHdUW9Nz/241qA\nbms/0+3Ggns0Rmmyv2T3dWMxVA5ByHYPXmgI96WIS0IjR0XUasa1z4a9TusO\nhoJRRiHJ8Th5yx14dsfgGhJKsiYWye7vbEOj5l8IZEWD6UoXlDdju1n8f0k+\nwzJJr721uBS+XKYR5vgplnAcKUXH0iJ6Ajz737kiTyhlzwuJnaXJGZer0VDO\nonqy4TBs6fKDYoO4+Z1S/G8ndC9RINsekAN5TlX08sNLSG8d/q+vj9+HYI2l\nchrVc+KiCH4X9C0x9uM/56jLRnRj3nRFDLdL5WoPb05OftELb4JdW11y8ZnN\n0BkWf8k8FIgbEeYOQVnVqMnjRbq/HlM9Jl6m/+2cNzC0VQ8WjKmXrhywx9LH\nrUE10ilitKf2GZv1qT+WHiqIV166ZqImRIwXpmuQhv39/sPhkblgM/8THeT1\n7cmvucccaJpjR7oujEcT4+c49+tbc/3QD9CanMUW1cQ2bLeuvqqi4d+RmXQg\nZfeM\r\n=O+lg\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICc6v6JDIu7g6COIxs4AW5CEKTueT3ay0jkyG/G4d3v4AiEA/WYJTPq+yeap+gIh+Rd123zHbQC4Ni2MjX5mz9If0As="}]},"_npmUser":{"name":"adriglez","email":"it.adrian.gonzalez@gmail.com"},"directories":{},"maintainers":[{"name":"adriglez","email":"it.adrian.gonzalez@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/filepond-plugin-pdf-preview_1.0.4_1620692225251_0.5436528084025039"},"_hasShrinkwrap":false}},"maintainers":[{"name":"adriglez","email":"it.adrian.gonzalez@gmail.com"}],"description":"Pdf preview Plugin for FilePond","homepage":"https://github.com/Adri-Glez/filepond-plugin-pdf-preview#readme","keywords":["javascript","file","upload","drag","drop","browse","paste","image","preview","filepond","pdf"],"repository":{"type":"git","url":"git+https://github.com/Adri-Glez/filepond-plugin-pdf-preview.git"},"author":{"name":"Adrian Glez"},"bugs":{"url":"https://github.com/Adri-Glez/filepond-plugin-pdf-preview/issues"},"license":"MIT","readme":"# PDF Preview plugin for FilePond \n\n[![License: MIT](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/Adri-Glez/filepond-plugin-pdf-preview/blob/master/LICENSE)\n[![npm version](https://badge.fury.io/js/filepond-plugin-pdf-preview.svg)](https://www.npmjs.com/package/filepond-plugin-pdf-preview)\n\nThe PDF Preview plugin is an Extenxion of FilePond that will render a small preview when the uploaded file is of type PDF. It will use the browser native renderer.\n\n<img src=\"https://raw.githubusercontent.com/Adri-Glez/filepond-plugin-pdf-preview/main/recDemoPdfFullPage2.gif\" width=\"508\" alt=\"\"/>\n\n## Quick Start\n\nInstall using npm:\n\n```bash\nnpm install filepond-plugin-pdf-preview\n```\n\nOr install using Yarn:\n\n```bash\nyarn add filepond-plugin-pdf-preview\n```\nOr using a CDN refernce:\n\n```js\nhttps://unpkg.com/filepond-plugin-pdf-preview/dist/filepond-plugin-pdf-preview.min.js\n```\n\n\nThen import in your project:\n\n```js\nimport * as FilePond from \"filepond\";\nimport FilePondPluginPdfPreview from \"filepond-plugin-pdf-preview\";\n```\n\nOr reference it by CDN\n\n```html\n<script src=\"https://unpkg.com/filepond-plugin-pdf-preview/dist/filepond-plugin-pdf-preview.min.js\"></script>\n```\n\n\nRegister the plugin:\n\n```js\nFilePond.registerPlugin(FilePondPluginPdfPreview);\n```\n\nCreate a new FilePond instance as normal.\n\n```js\nconst pond = FilePond.create({\n  name: \"filepond\",\n});\n\n// Add it to the DOM\ndocument.body.appendChild(pond.element);\n```\n\nThe preview will become active when uploading a PDF file.\n\n## Change the defaults\n\nIf you want you can change the defaults for this plugin\n\nin the javascript  \n```js\npond.setOptions({\r\n    allowPdfPreview: true,\r\n    pdfPreviewHeight: 320,\r\n    pdfComponentExtraParams: 'toolbar=0&view=fit&page=1'            \r\n });\n```\nor in the html with the 'data-' atributes in the html tag\n```html\n<input type=\"file\"         \r\n    data-pdf-preview-height=\"320\"  \r\n    data-pdf-component-extra-params=\"toolbar=0&navpanes=0&scrollbar=0&view=fitH\"\n/>\n```\n\n## Default styles\n\nBe sure to include this lib's styles, by importing the minified css.\n\n```js\nimport \"filepond-plugin-pdf-preview/dist/filepond-plugin-pdf-preview.min.css\";\n```\n\nor by CDN\n\n```html\n<link href=\"https://unpkg.com/filepond-plugin-pdf-preview/dist/filepond-plugin-pdf-preview.min.css\" rel=\"stylesheet\">\n```\n\n## Demo\n\n[View the demo](https://Adri-Glez.github.io/filepond-plugin-pdf-preview/)\n","readmeFilename":"README.md"}