Socket
Socket
Sign inDemoInstall

ozone-api-upload

Package Overview
Dependencies
Maintainers
6
Versions
143
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ozone-api-upload

UploadFileRequest is a JavaScrip class that can be use as an XMLHttpRequest to upload media using ozone v2 upload chanel.


Version published
Weekly downloads
41
increased by32.26%
Maintainers
6
Weekly downloads
 
Created
Source

NPM version

<ozone-api-upload>

UploadFileRequest is a JavaScrip class that can be use as an XMLHttpRequest to upload media using ozone v2 upload chanel. It mask the complex series of AJAX call to one XMLHttpRequest like request. Note: that UploadFileRequest implement only a subset of XMLHttpRequest

install

$ npm install --save ozone-api-upload

usage

  import {UploadFileRequest} from 'ozone-api-upload'

  const uploader = new UploadFileRequest();
  uploader.open();
  const formData = new FormData();
  formData.append(file.formDataName, file, file.name);
  uploader.send(formData);

FAQs

Package last updated on 25 Sep 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc