{"_id":"jquery-multifile","_rev":"2-37f6cffda3b8af1479352266ff5860e9","name":"jquery-multifile","description":"jQuery Multiple File Selection Plugin","dist-tags":{"latest":"2.2.2"},"versions":{"2.2.2":{"name":"jquery-multifile","title":"jQuery MultiFile","version":"2.2.2","description":"jQuery Multiple File Selection Plugin","main":"jquery.MultiFile.js","scripts":{"test":"grunt all test","build":"grunt build","document":"grunt doc"},"repository":{"type":"git","url":"git+https://github.com/fyneworks/multifile.git"},"keywords":["jquery","file","upload"],"author":{"name":"Fyneworks"},"license":"MIT","bugs":{"url":"https://github.com/fyneworks/multifile/issues"},"homepage":"https://github.com/fyneworks/multifile","dependencies":{"jquery":"~1.7.3"},"devDependencies":{"grunt":"~0.4.4","grunt-sass":"~1.2.1","grunt-contrib-watch":"~0.6.1","node-sass":"^3.7.0","uglifyjs":"^2.3.6","grunt-contrib-uglify":"^0.4.0","selenium-webdriver":"^2.41.0","grunt-contrib-cssmin":"^0.9.0","clean-css":"^2.1.8","html-minifier":"^0.5.6","grunt-contrib-jade":"^0.11.0","grunt-shell":"^0.6.4","grunt-git":"^0.2.7","grunt-cli":"^0.1.13"},"gitHead":"93cfe1c18d31988c11b39a47632a5c8025d17cec","_id":"jquery-multifile@2.2.2","_shasum":"ba287ce23c46bce279ee8ade750b3e28284c37f0","_from":".","_npmVersion":"3.3.4","_nodeVersion":"6.11.3","_npmUser":{"name":"mirabilos","email":"t.glaser@tarent.de"},"dist":{"shasum":"ba287ce23c46bce279ee8ade750b3e28284c37f0","tarball":"https://registry.npmjs.org/jquery-multifile/-/jquery-multifile-2.2.2.tgz","integrity":"sha512-1iF+XbXkLUB5CFrr8K0yOnKQdMlpTyx1c6ilSb3cAXO/XqsVUr5GzacgAD0ue46qUG9N0A/LCxr5wBVlkqZwhA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCqAJ+2ODmS2L+DFVm8XnzfnZh3zv6ToRbuTLcWGl6cwQIgUsbs1FIk6Z9nYj3XYMeeXF/jZpFoUW5UIZEWpdf4AfQ="}]},"maintainers":[{"name":"mirabilos","email":"t.glaser@tarent.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jquery-multifile-2.2.2.tgz_1506118154555_0.658458887366578"}}},"readme":"# [jQuery Multiple File Upload](http://www.fyneworks.com/jquery/multifile/)\n\n## Overview\n\n[![Flattr this git repo](http://api.flattr.com/button/flattr-badge-large.png)](https://flattr.com/submit/auto?user_id=fyneworks&url=https://github.com/fyneworks/multifile&title=Multiple+File+Upload&language=&tags=github&category=software)\n\nMultiFile ($.MultiFile) is a non-obtrusive and crucially **non-opinionated** plugin for jQuery that helps your users easily select multiple files for upload.\n\nIt helps you implement a basic interface to improve the file selection experience of your users whilst providing you, the developer, with 3 simple methods of validation: accepted extensions, maximum number of files and total size.\n\n---\n\n## Server-Side Implementation\n\nThis plugin will never deal with the server-side implementation of your upload solution. This plugin will not upload your files. If that's what you want, we recommend you check them out one of the\n[many](http://www.uploadify.com/\"),\n[many](http://www.plupload.com/\")\n[many](http://blueimp.github.io/jQuery-File-Upload/\") great tools out there which provide a full solution - with image previews, progress bars and extensive support for many environments (`.NET`, `PHP`, `Java`, etc...).\n\nAnd remember..... **server-side validation is always required**.\n\n---\n\n## Installation\n\nFirst, get the package\n\nInstall with bower: `bower install multifile` or download zip from GitHub <a href=\"https://github.com/fyneworks/multifile/archive/master.zip\"><strong>multifile.zip</strong></a>\n\nThen, invoke the required javascript files to your document, just before the `</html>` tag.\n\nAdd [jQuery](https://developers.google.com/speed/libraries/devguide#jquery) to your page. We strongly recommend you make use of Google's Hosted Libraries service.\n```html\n<script src=\"//ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js\"></script>\n```\n\nThen add the plugin (after jQuery)\n```html\n<script src=\"/path/to/plugin/jquery.MultiFile.min.js\"></script>\n```\n\n**Note** that, before v2.2.2, the file was called `jQuery.MultiFile.min.js` instead (jQuery recommended to use a lowercase ‘q’ in package names).\n\n---\n\n## Recommended Usage (HTML5)\n\nJust add `multiple=\"multiple\"` and `class=\"multi\"` attributes to your `<input type=\"file\"/>`, like this:\n\n```html\n<input type=\"file\" multiple=\"multiple\" class=\"multi\"/>\n```\n\nUse the `maxlength` property if you want to limit the number of files selected.\n<b style=\"color:red\">Server-side validation is always required</b>\n```html\n<input type=\"file\" multiple=\"multiple\" class=\"multi\" maxlength=\"2\"/>\n```\n\nUse the `accept` if you only want files of a certain extension to be selected Separate valid extensions with a \"|\", like this: \"jpg|gif|png\".\n<b style=\"color:red\">Server-side validation is always required</b>.\n```html\n<input type=\"file\" multiple=\"multiple\" class=\"multi\" accept=\"gif|jpg\"/>\n```\n\n---\n\n## Legacy Usage (pre HTML5)\n\nVersions of HTML and xHTML prior to HTML 5 do not support the `multiple=\"multiple\"` attribute. The plugin will still work in almost the same way, but your users will only be able to **one file at a time**.\n\n```html\n<input type=\"file\" class=\"multi\"/>\n```\n\nUse the `maxlength` property if you want to limit the number of files selected.\n<b style=\"color:red\">Server-side validation is always required</b>\n```html\n<input type=\"file\" class=\"multi\" maxlength=\"2\"/>\n```\n\nUse the `accept` if you only want files of a certain extension to be selected Separate valid extensions with a \"|\", like this: \"jpg|gif|png\".\n<b style=\"color:red\">Server-side validation is always required</b>.\n```html\n<input type=\"file\" class=\"multi\" accept=\"gif|jpg\"/>\n```\n\n---\n\n## Full Documentation and Demos\n\nFor more examples, documentation and a full list of features available, please [visit the plugin's official website](http://www.fyneworks.com/jquery/multifile/).\n\n---\n\n## Continous Integration with Travis CI\n\n[![Master Status](https://travis-ci.org/fyneworks/multifile.svg?branch=master)](https://travis-ci.org/fyneworks/multifile): full build history on [Travis CI]((https://travis-ci.org/fyneworks/multifile))\n","maintainers":[{"name":"mirabilos","email":"t.glaser@tarent.de"}],"time":{"modified":"2022-06-19T05:07:45.309Z","created":"2017-09-22T22:09:15.629Z","2.2.2":"2017-09-22T22:09:15.629Z"},"homepage":"https://github.com/fyneworks/multifile","keywords":["jquery","file","upload"],"repository":{"type":"git","url":"git+https://github.com/fyneworks/multifile.git"},"author":{"name":"Fyneworks"},"bugs":{"url":"https://github.com/fyneworks/multifile/issues"},"license":"MIT","readmeFilename":"README.md"}