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.