1.0.3 • Published 3 months ago
@jswork/next-file-upload v1.0.3
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.