Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ozone-api-upload

Package Overview
Dependencies
Maintainers
8
Versions
145
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.

  • 5.5.8
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
177
increased by391.67%
Maintainers
8
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 10 Jun 2021

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