@jswork/next-file-upload

1.0.3 • Public • Published

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.

Readme

Keywords

Package Sidebar

Install

npm i @jswork/next-file-upload

Homepage

js.work

Weekly Downloads

1

Version

1.0.3

License

MIT

Unpacked Size

6.97 kB

Total Files

6

Last publish

Collaborators

  • afeiship