New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

randalthor-dropboxapi

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

randalthor-dropboxapi

Client Wrapper for Dropbox Node API

  • 1.0.3
  • npm
  • Socket score

Version published
Weekly downloads
4
decreased by-55.56%
Maintainers
1
Weekly downloads
 
Created
Source

RandAlThor-dropboxapi

This is a client Wrapper to the official Dropbox npm package, and is meant for small scale and only basic functionality.

Functionality

uploadLocal(location, options);
uploadLocalSync(location, options);
// Location is the file location of the image you wish to upload
// (optional)options is a json object of type [FilesCommitInfo](https://dropbox.github.io/dropbox-sdk-js/global.html#FilesCommitInfo)

downloadLocal(image, location, options);
downloadLocalSync(image, location, options);
// image is the path of the image within dropbox
// (optional) is the local location in which you want to save the file
// (optional) is options type [FilesDownloadArg](https://dropbox.github.io/dropbox-sdk-js/global.html#FilesDownloadArg)
downloadBinarySync(image, options);
// Returns the image Binarys
//image is the path of the image within dropbox
// (optional) is options type [FilesDownloadArg](https://dropbox.github.io/dropbox-sdk-js/global.html#FilesDownloadArg)

Example

const dropbox = require("randalthor-dropboxapi");
const client = new dropbox.Client("<ACCESS_TOKEN>");

client.uploadLocal("./image.png");

FAQs

Package last updated on 23 Nov 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