@jswork/next-file-upload
v1.0.3
Published
Simple xhr for file upload.
Downloads
28
Readme
next-file-upload
Simple xhr for file upload.
installation
npm install -S @jswork/next-file-upload
usage
import '@jswork/next-file-upload';
nx.fileUpload('/api/upload', { file: inFile }).then(function(response) {
console.log(response);
});
license
Code released under the MIT license.