{"_id":"select-files","_rev":"2-156bd0947ee590b24d928c70875fcb1d","name":"select-files","dist-tags":{"latest":"1.0.1"},"versions":{"1.0.0":{"name":"select-files","version":"1.0.0","description":"Virtually creates a file input element (<input type=\"file\" />), triggers it and returns selected files.","cdn":"dist/index.umd.js","main":"dist/index.js","types":"types/index.d.ts","unpkg":"dist/index.umd.js","module":"dist/index.esm.js","jsdelivr":"dist/index.umd.js","umd:main":"dist/index.umd.js","dependencies":{},"devDependencies":{"@types/jest":"^24.0.18","bili":"^4.8.1","jest":"^24.9.0","prettier":"^1.18.2","rollup-plugin-typescript2":"^0.24.0","ts-jest":"^24.0.2","typedoc":"^0.15.0","typedoc-plugin-markdown":"^2.1.7","typescript":"^3.6.2"},"scripts":{"doc":"typedoc src/index.ts","test":"yarn test:lint && yarn test:unit","test:lint":"prettier **/*.{ts,tsx,js,jsx,json} --check","test:unit":"jest","lint":"prettier **/*.{ts,tsx,js,jsx,json} --write","build":"bili","prepublishOnly":"yarn doc && yarn build && yarn test"},"repository":{"type":"git","url":"git+https://github.com/VitorLuizC/select-files.git"},"keywords":["select-files","select-file","upload-files","upload-file","select","upload","input-file","file-input","file","filelist","dom","typescript","javascript"],"author":{"name":"Vitor Luiz Cavalcanti","email":"vitorluizc@outlook.com","url":"https://vitorluizc.github.io/"},"license":"MIT","bugs":{"url":"https://github.com/VitorLuizC/select-files/issues"},"homepage":"https://github.com/VitorLuizC/select-files#readme","gitHead":"a408dee7bdfd7f94ba829d94d516cc0cb573644f","_id":"select-files@1.0.0","_nodeVersion":"12.8.1","_npmVersion":"6.10.3","dist":{"integrity":"sha512-/Rmq9r+RQAwPNzrYdtorI9gqlpHJfefwvUBH5N17ZpkpjLGb4NhmUuBoevtK2rzfIGMyzsXbjkbz4ANSoeiMFg==","shasum":"21b1bc2fa8c7f417f37b2bd470224946538d882c","tarball":"https://registry.npmjs.org/select-files/-/select-files-1.0.0.tgz","fileCount":25,"unpackedSize":21129,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJddaJMCRA9TVsSAnZWagAAe7cQAJ+Q0H2XxRmn6bj7M/HW\n0EstJUUO4RazqWYwp4fSFf89YK6M0GB63Misi0+ZAOkFU2iAX1IJB88RLVwh\nKUGaFaup3q7LVP29A/6YU1Pee0FV7n6hPv3IGD8GoNqMjaOLkuLGPXpAEyuF\nYTYCJ6l/zbeBhNGJ89H0Je0HijDpmw3sCa0HXmLNl63qD74gqIjcN8fjViiO\nBJNJZm2K0ioYFVjiIQ+tuQxDk1bJ/QCpVNv6s6pvZTUyuQLznkkNTP+OTglg\n+ESlukJLEPypJ7R6HbO8809u1NnSK2fGnCRS1c4h9pPaA3aBNFgOuXOFViOH\ntfntuOMObNTj6zjnpZeV9A5sGYPd77FtK0iPhEYd6MDJ14Xc5+FOLJtmrSAE\nADgcE8F3ZzMtnipIaZR0qTLbODoNi8rpmt8BUn//uNT0gXrGFroqnfUnlETW\nbuOqu3v9yzs/BQdjPjfEM+mOAwVVePlFGtnqwaZs2W801MtJ4+ftxz/3c1cH\nRHmg33BMvszLTmUj9MtrWj6bJ5EaTIdOpj7H2T8Ze6Zv5RbNcSJTzt4k4Zy2\nL8e3EMECUJZBLbg8Fj1bXaHEIyVW0uGik2qn1tWgtCxwFYARgQt2GmbrP+42\ngp+jLeXhD2mj9pD2kl6xeSoibR5TJheWDn6BaAmcLZQM2+1HeL1VWGILp3dB\n6trF\r\n=P74F\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFeOVupZ3WfE4iJf8/QTmQbqXvDRRoh8HEw/K5/4nsEUAiEA614eo68awAakD5PldHjH55ftL3qXjCwSKh5eRVwpqYg="}]},"maintainers":[{"name":"vitorluizc","email":"vitorluizc@outlook.com"}],"_npmUser":{"name":"vitorluizc","email":"vitorluizc@outlook.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/select-files_1.0.0_1567990348045_0.4550985651837738"},"_hasShrinkwrap":false},"1.0.1":{"name":"select-files","version":"1.0.1","description":"Virtually creates a file input element (<input type=\"file\" />), triggers it and returns selected files.","cdn":"dist/index.umd.js","main":"dist/index.js","types":"types/index.d.ts","unpkg":"dist/index.umd.js","module":"dist/index.esm.js","jsdelivr":"dist/index.umd.js","umd:main":"dist/index.umd.js","dependencies":{},"devDependencies":{"@types/jest":"^25.2.1","bili":"^4.10.0","jest":"^26.0.1","prettier":"^2.0.5","rollup-plugin-typescript2":"^0.27.0","ts-jest":"^25.5.0","typedoc":"^0.17.6","typedoc-plugin-markdown":"^2.2.17","typescript":"^3.8.3"},"scripts":{"doc":"typedoc src/index.ts","test":"yarn test:lint && yarn test:unit","test:lint":"prettier **/*.{ts,js,json} --check","test:unit":"jest","lint":"prettier **/*.{ts,js,json} --write","build":"bili","prepublishOnly":"yarn doc && yarn build && yarn test"},"repository":{"type":"git","url":"git+https://github.com/VitorLuizC/select-files.git"},"keywords":["select-files","select-file","upload-files","upload-file","select","upload","input-file","file-input","file","filelist","dom","typescript","javascript"],"author":{"name":"Vitor Luiz Cavalcanti","email":"vitorluizc@outlook.com","url":"https://vitorluizc.github.io/"},"license":"MIT","bugs":{"url":"https://github.com/VitorLuizC/select-files/issues"},"homepage":"https://github.com/VitorLuizC/select-files#readme","gitHead":"424c1f720da2dd1463f9d2fb2c6e48a81211ff2f","_id":"select-files@1.0.1","_nodeVersion":"14.1.0","_npmVersion":"6.14.5","dist":{"integrity":"sha512-8h4DSpjfFa0hyMP3z3ye4SxyhdaE5RgaXeScRpH7xl4YblnZSHwexmLdLNdSKwTO8H9ccDKj7Votz0io+18+BQ==","shasum":"974991a69c5dba26cfa57dcbc6d27f0917741acb","tarball":"https://registry.npmjs.org/select-files/-/select-files-1.0.1.tgz","fileCount":26,"unpackedSize":21154,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJetFdMCRA9TVsSAnZWagAA6x4P/A4IDdTr/cdRY3mB5OeE\ncOkZ3TK72kA4/b8faJ41R7ZqeW+enrIG1bweG7mGWYfADJgJMgvEISUYxDTJ\ndtcVktkvVBtUQYrp8PK0K7JRrYfxacSbTf01u5HXwrE32KPSCSBmafw8HuCA\namUVsil7X4uakXrODQaR5p9lpk7qdBF5+TQi9AG7HSskKCVURWIpr0VqQP9g\npiC+4eRFd/WqKD/Zdri9hTpgPxpAyJp9cyBT+vKt6UZVdNMDtQxvgpnZVESx\nLsQC+Qu5FwdKmdT/wfn/TQ2QfXwd+b87jcqqJSE/dg2O62+SYscXRyBlJRz/\nJ3Gj2xQEMiT8xJJKhz+20I6RHY1Sl96gHxtRHFlXI22J5OOewudryvfvCioA\nHWId7ckDJevnzVU4USLscDY0iUtCsumpJ7oDDqOQfvuHxbdj1T7GeUKBu9MK\nVqXIgaUggnFkWW/XzflgkCGWwfJ89GMW06ghO6Oyp27CGSU4vA4fc364g3ZC\n4p4jm6N/FScgCMr5gydoEbQIdwGSDOvViZFvwp3XBM27ZipSPhh9+UbK9/9l\nKRTSOK3AoaYGYDphzs/95EE0BWgRc3bPyjoNSWDxH92+i2tvH9EtnCIqJM2F\n9rSo6zZV9QdlJ0byZj+SCQJXS/31P8NlbDb/2eg+9QhOrT8NmYRohkNY83lN\ncVHl\r\n=vhsI\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGeaViUEdgbGplE9lnwPio3Aj0UWA4L8mYsPFLA8xLKOAiAPcWNsd5uG0fdKqjKSRk/p8woVJ8gL6nUBVsUnE9N5kQ=="}]},"maintainers":[{"name":"vitorluizc","email":"vitorluizc@outlook.com"}],"_npmUser":{"name":"vitorluizc","email":"vitorluizc@outlook.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/select-files_1.0.1_1588877132201_0.5183725456246384"},"_hasShrinkwrap":false}},"time":{"created":"2019-09-09T00:52:28.044Z","1.0.0":"2019-09-09T00:52:28.217Z","modified":"2022-05-17T10:01:07.527Z","1.0.1":"2020-05-07T18:45:32.321Z"},"maintainers":[{"name":"vitorluizc","email":"vitorluizc@outlook.com"}],"description":"Virtually creates a file input element (<input type=\"file\" />), triggers it and returns selected files.","homepage":"https://github.com/VitorLuizC/select-files#readme","keywords":["select-files","select-file","upload-files","upload-file","select","upload","input-file","file-input","file","filelist","dom","typescript","javascript"],"repository":{"type":"git","url":"git+https://github.com/VitorLuizC/select-files.git"},"author":{"name":"Vitor Luiz Cavalcanti","email":"vitorluizc@outlook.com","url":"https://vitorluizc.github.io/"},"bugs":{"url":"https://github.com/VitorLuizC/select-files/issues"},"license":"MIT","readme":"# selectFiles\n\n[![Build Status](https://travis-ci.org/VitorLuizC/select-files.svg?branch=master)](https://travis-ci.org/VitorLuizC/select-files)\n[![License](https://badgen.net/github/license/VitorLuizC/select-files)](./LICENSE)\n[![Library minified size](https://badgen.net/bundlephobia/min/select-files)](https://bundlephobia.com/result?p=select-files)\n[![Library minified + gzipped size](https://badgen.net/bundlephobia/minzip/select-files)](https://bundlephobia.com/result?p=select-files)\n\nVirtually creates a file input element (`<input type=\"file\" />`), triggers it and returns selected files.\n\n```js\nimport selectFiles from 'select-files';\n\nselectFiles({ accept: 'image/*', capture: 'camera' }).then(files => {\n  // ...\n});\n```\n\n## Installation\n\nThis library is published in the NPM registry and can be installed using any compatible package manager.\n\n```sh\nnpm install select-files --save\n\n# For Yarn, use the command below.\nyarn add select-files\n```\n\n### Installation from CDN\n\nThis module has an UMD bundle available through JSDelivr and Unpkg CDNs.\n\n```html\n<!-- For UNPKG use the code below. -->\n<script src=\"https://unpkg.com/select-files\"></script>\n\n<!-- For JSDelivr use the code below. -->\n<script src=\"https://cdn.jsdelivr.net/npm/select-files\"></script>\n\n<script>\n  // UMD module is exposed through the \"selectFiles\" global function.\n  selectFiles({ multiple: true }).then(files => {\n    console.log(files);\n  });\n</script>\n```\n\n## Documentation\n\n[Documentation generated from source files by Typedoc](./docs/README.md).\n\n## License\n\nReleased under [MIT License](./LICENSE).\n","readmeFilename":"README.md"}