Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/component/normalized-upload
- Owner: component
- Created: 2013-04-26T21:57:59.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2014-02-11T01:26:00.000Z (almost 11 years ago)
- Last Synced: 2024-12-08T15:57:30.385Z (20 days ago)
- Language: JavaScript
- Homepage:
- Size: 177 KB
- Stars: 9
- Watchers: 7
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
- Changelog: History.md
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