
Security News
CISA Kills Off RSS Feeds for KEVs and Cyber Alerts
CISA is discontinuing official RSS support for KEV and cybersecurity alerts, shifting updates to email and social media, disrupting automation workflows.
a promise wrapper for the (un)official dropbox.js
drbx-js uses a modified dropbox.js file, with fixed browserify/nodejs handling
until this get merged: https://github.com/dropbox/dropbox-js/pull/183
install from npm
npm i drbx-js
these methods are used for initializing and connection to dropbox
params url, path_in_dropbox)
response Object containing: status, jobid
params jobid
response Object containing: status, error (on error status)
following function have matching parameters with the Dropbox Core HTTP API
and the (un)official dropbox js api, more info can be found here:
https://github.com/dropbox/dropbox-js/blob/stable/src/client.coffee
https://www.dropbox.com/developers/core/docs
var Drbx = require('../src/drbx.js');
Drbx.init({
client : { key : [Dropbox API Key] },
auth : new Drbx.Dropbox.AuthDriver.Popup({
receiverUrl : [receiverUrl],
rememberUser : true
})
});
Drbx.login()
.then(function isLoggedIn() {
console.log('user is logged in');
})
.catch(function(err) {
console.log(err);
});
Drbx.accountInfo()
.then(function getUserData(userData) {
console.log(userData);
})
.catch(function(err) {
console.log(err);
});
Drbx.saveUrl('http://url-to-someting', '/path/in/dropbox')
.then(function saveUrlResponse(metadata) {
console.log(metadata);
})
.catch(function(err) {
console.log(err);
});
Drbx.readdir('/')
.then(function getRootDirData(folderMetaData) {
console.log(folderMetaData);
})
.catch(function(err) {
console.log(err);
});
FAQs
Promise Dropbox-Api Wrapper
The npm package drbx-js receives a total of 9 weekly downloads. As such, drbx-js popularity was classified as not popular.
We found that drbx-js demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Security News
CISA is discontinuing official RSS support for KEV and cybersecurity alerts, shifting updates to email and social media, disrupting automation workflows.
Security News
The MCP community is launching an official registry to standardize AI tool discovery and let agents dynamically find and install MCP servers.
Research
Security News
Socket uncovers an npm Trojan stealing crypto wallets and BullX credentials via obfuscated code and Telegram exfiltration.