JavaScript implementation of the "accept" attribute for HTML5 <input type="file">
npm install attr-accept