
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
An aliyun oss service client for NodeJS, provides batch processing, exposes api more like nodejs.fs. 阿里云 OSS 服务的SDK,提供简单好用的API接口,支持批量操作处理
an aliyun oss service client for nodejs, exposes api more like the file system module of Node.JS 一个阿里云 OSS 服务的 Node.JS 模块,提供类似 fs 的 API。同时提供一些方便的批量操作方法
OssEasy = require("oss-easy")
ossOptions = {
accessKeyId : "your oss key"
accessKeySecret : "your oss secret"
}
var oss = new OssEasy(ossOptions, "bucket_name");
oss.writeFile('remote/path/to/filename', 'content could be string of buffer', function(err) {
if(err) console.log(err);
});
oss.uploadFile('path_to_local_file', 'remote/path/to/filename', function(err) {
if(err) console.log(err);
});
var tasks = {
'local/path/to/filename0': "remote/path/to/filename0",
'local/path/to/filename1': "remote/path/to/filename1",
'local/path/to/filename2': "remote/path/to/filename2",
};
oss.uploadFiles(tasks, function(err) {
if(err) console.log(err);
});
oss.downloadFile('remote/path/to/filename', 'path_to_local_file', 'function(err) {
if(err) console.log(err);
});
var tasks = {
"remote/path/to/filename0": 'local/path/to/filename0',
"remote/path/to/filename1": 'local/path/to/filename1',
"remote/path/to/filename2": 'local/path/to/filename2',
};
oss.downloadFiles(tasks, function(err) {
if(err) console.log(err);
});
oss.deleteFile(filename, function(err) {
if(err) console.log(err);
});
oss.deleteFolder('remote/path/to/folder', function(err) {
if(err) console.log(err);
})
oss.deleteFiles(['remote/path/to/filename0','remote/path/to/filename1'], function(err) {
if(err) console.log(err);
});
mocha tests
Copyright (c) 2013 yi Licensed under the MIT license.
FAQs
An aliyun oss service client for NodeJS, provides batch processing, exposes api more like nodejs.fs. 阿里云 OSS 服务的SDK,提供简单好用的API接口,支持批量操作处理
We found that oss-easy 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
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.