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

@woodenfish/aliyun-sdk-node

v0.0.1

Published

``` pnpm add @woodenfish/aliyun-sdk-node ```

Downloads

25

Readme

安装

pnpm add @woodenfish/aliyun-sdk-node

这个轱辘做了什么

  • 从阿里云的 meta 接口中生成 api 的类型文件
    • sync.ProductList.ts 拉取一个阿里云所有产品的列表
    • sync.ProductDetail.ts 按列表拉取每个产品下的 api 列表与具体信息
    • make.type.ts 生成每个 api 的类型文件
  • 调用阿里云 api 的时候有基本的提示
  • 不必填写 apiVersionendpoint
  • 不用给每个业务创建一个 api 实例 (pop-core 需要给每个业务 new 一个实例出来)

为什么会有这个轱辘

  1. 阿里云的文档搜索很糟糕
  2. 我想有一定的参数提示(在 ts 中,必填参数未填,至少在 IDE 中会有提示了),返回值也能有参数说明
  3. apiVersionendponit 我希望有个默认值

还存在的问题

@alicloud/openapi-client 的参数未完全适配,并不是所有的接口都能调用成功

如何使用

参考 test 代码,其余的请 看 源 码 :)

示例

instance demo