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

strapi-provider-upload-qiniu-enhanced

v1.0.0

Published

Qiniu provider for strapi upload

Downloads

7

Readme

strapi-provider-upload-qiniu

本插件使用七牛node.js SDK

安装

在strapi目录下执行命令:

yarn add strapi-provider-upload-qiniu

具体插件安装方法参见这里

参数配置

  • Access/Secret Key

登录七牛开发者后台,点击这里🔗查看 Access Key 和 Secret Key

  • Region

| 机房 | Zone对象 | | :-------- | --------:| | 华东 | qiniu.zone.Zone_z0| | 华北 | qiniu.zone.Zone_z1| | 华南 | qiniu.zone.Zone_z2| | 北美 | qiniu.zone.Zone_na0|

  • Prefix in your qiniu stroage key

插件在上传文件到七牛时,使用七牛SDK覆盖上传的凭证来上传文件,七牛中的文件命名规则为prefix/filehash。本域用于配置prefix

  • Bucket

七牛中存储空间的名字。

  • Your domain link to qiniu

在七牛云存储控制台中配置融合 CDN 加速域名, 七牛存储空间中对应的空间域名。登录控制台,在对应的存储空间->空间概览->S3域名中可以获得。

  • If append the file ext in key

文件在七牛存储空间中的key值,是否包含源文件的扩展名。 如果不包含扩展名,文件上传到七牛后,key值为{prefix}/{file hash} 如果包含扩展名,文件上传到七牛后,key值为{prefix}/{file hash}.{file ext}

  • Uploaded callback url (TODO)

随意填写,插件中未实现对应功能。

  • Uploaded callback body (TODO)

随意填写,插件中未实现对应功能。

  • Set image size and resize params (TODO)

随意填写,插件中未实现对应功能。