normalized-upload

Normalized DataTransfer items for less upload item handling pain

npm install normalized-upload
1 downloads in the last day
2 downloads in the last week
43 downloads in the last month

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

npm loves you