Skip to content

afeiship/next-file-upload

Repository files navigation

next-file-upload

Simple xhr for file upload.

version license size download

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.