component-normalized-upload
v0.0.6
Published
Normalized DataTransfer items for less upload item handling pain
Downloads
15
Maintainers
Readme
normalized-upload
Normalized DataTransfer items for less upload item handling pain.
Installation
$ component install component/normalized-upload
Example
var normalize = require('normalized-upload');
document.onpaste = function(e){
console.log(e);
normalize(e, function(){
e.items.forEach(function(item){
console.log(item);
});
});
};
License
MIT