Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

td-upyun

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

td-upyun

支持代理的upyun客户端-node版

latest
Source
npmnpm
Version
2.0.0
Version published
Weekly downloads
25
19.05%
Maintainers
1
Weekly downloads
 
Created
Source

node-upyun

支持代理的upyun客户端-node版

用法基本同upyun/node-sdk 但是仅支持usage、listDir、deleteFile、putFile、deleteDir、mkdir、getFile、headFile等方法 Service支持第4个参数proxy,如new Service('serviceName', 'operatorName', 'password', 'http://username:password@host:port');

import upyun from 'td-upyun';
const { Client, Service } = upyun;
const service = new Service('test','test','pass','http://name:pass@192.168.2.1:3128');
const client = new Client(service);
client.listDir('test', {limit: 1000}).then(res => {});

FAQs

Package last updated on 04 Jan 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