npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@treelab/aliyun-sdk

v1.0.1

Published

Aliyun SDK for JavaScript

Downloads

4

Readme

安装

Node.js 安装

npm install aliyun-sdk

浏览器端安装

https://github.com/aliyun-UED/aliyun-sdk-js/blob/master/browser.md

使用方法及代码示例

OSS

在 samples/oss 目录下的代码示例,使用方法:

  • 将 sample/oss/oss.js 中需要的参数修改
  • 打开需要执行的某个实例文件,如 GetBucket.js,将其中的参数改成你自己的 oss 实例参数
  • 执行示例文件即可, 如:
cd samples/oss
node GetBucket.js

oss 支持 stream 请使用 https://github.com/berwin/aliyun-oss-upload-stream

目前支持的服务

SDK 目前支持下列服务:

| 服务名 | 类名 | API 版本 | API 文档 | :------------ |:---------------:| -----:| -----:| | Aliyun ECS | ALY.ECS | 2014-05-26 | ECS API手册 | | Aliyun RDS | ALY.RDS | 2014-08-15 | RDS API手册 | | Aliyun SLB | ALY.SLB | 2014-05-15 | SLB API手册 | | Aliyun ESS | ALY.SLB | 2014-08-28 | ESS API手册 | | Aliyun OSS | ALY.OSS | 2013-10-15 | OSS API手册 | | Aliyun OTS | ALY.OTS | 2014-08-08 | OTS API手册 | | Aliyun CDN | ALY.CDN | 2014-11-11 | CDN API手册 | | Aliyun CMS | ALY.CMS | 2015-10-20 | CMS API手册 | | Aliyun SLS | ALY.SLS | 2014-11-18 | SLS API手册 | | Aliyun RAM | ALY.RAM | 2015-05-15 | RAM API手册 | | Aliyun STS | ALY.STS | 2015-04-01 | STS API手册 | | Aliyun MTS | ALY.MTS | 2014-06-18 | MTS API手册 | | Aliyun PUSH | ALY.PUSH | 2015-08-27 | PUSH API手册 | | Alidayu | ALY.DAYU | 2015-12-16 | 阿里大于 API手册 | | Alyun GREEN | ALY.GREEN | 2016-11-24 | 阿里绿网 API手册 | | Aliyun OpenSearch | ALY.OpenSearch | 2015-01-01 | OpenSearch API手册 | | Aliyun BatchCompute | ALY.BatchCompute | 2015-06-30 | BatchCompute API手册 | | Aliyun OCS memcached | ALY.MEMCACHED | | BinaryProtocolRevamped | | Aliyun JAQ | ALY.JAQ | | 数控风险 |

我们在代码中参考了 AWS SDK,在此声明。

License

This SDK is distributed under the Apache License, Version 2.0.