Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/component/normalized-upload

Normalized DataTransfer items for less upload item handling pain.
https://github.com/component/normalized-upload

Last synced: 13 days ago
JSON representation

Normalized DataTransfer items for less upload item handling pain.

Awesome Lists containing this project

README

        

# normalized-upload

Normalized DataTransfer items for less upload item handling pain.

## Installation

$ component install component/normalized-upload

## Example

```js
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