From 4d2735a27e118fb0bcb7540dbcfb6c2bd9a3b33a Mon Sep 17 00:00:00 2001 From: tiny-oss loop Date: Thu, 17 Sep 2026 13:54:30 +0000 Subject: [PATCH] docs: add conventional status badges to the READMEs --- README.md | 5 +++++ README_zh-CN.md | 7 +++++++ 2 files changed, 12 insertions(+) diff --git a/README.md b/README.md index 6d9d27a..9e05281 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,11 @@ # tiny-oss [![npm version](https://img.shields.io/npm/v/tiny-oss)](https://www.npmjs.com/package/tiny-oss) +[![npm downloads](https://img.shields.io/npm/dm/tiny-oss)](https://www.npmjs.com/package/tiny-oss) +[![license](https://img.shields.io/npm/l/tiny-oss)](https://github.com/Alex1990/tiny-oss/blob/main/LICENSE) +[![CI](https://github.com/Alex1990/tiny-oss/actions/workflows/ci.yml/badge.svg)](https://github.com/Alex1990/tiny-oss/actions/workflows/ci.yml) +[![bundle size](https://img.shields.io/bundlephobia/minzip/tiny-oss)](https://bundlephobia.com/package/tiny-oss) +[![node](https://img.shields.io/node/v/tiny-oss)](https://www.npmjs.com/package/tiny-oss) **English | [简体中文](README_zh-CN.md)** diff --git a/README_zh-CN.md b/README_zh-CN.md index 39b4f7a..18ea5bb 100644 --- a/README_zh-CN.md +++ b/README_zh-CN.md @@ -1,5 +1,12 @@ # tiny-oss +[![npm version](https://img.shields.io/npm/v/tiny-oss)](https://www.npmjs.com/package/tiny-oss) +[![npm downloads](https://img.shields.io/npm/dm/tiny-oss)](https://www.npmjs.com/package/tiny-oss) +[![license](https://img.shields.io/npm/l/tiny-oss)](https://github.com/Alex1990/tiny-oss/blob/main/LICENSE) +[![CI](https://github.com/Alex1990/tiny-oss/actions/workflows/ci.yml/badge.svg)](https://github.com/Alex1990/tiny-oss/actions/workflows/ci.yml) +[![bundle size](https://img.shields.io/bundlephobia/minzip/tiny-oss)](https://bundlephobia.com/package/tiny-oss) +[![node](https://img.shields.io/node/v/tiny-oss)](https://www.npmjs.com/package/tiny-oss) + 专注于上传的极简对象存储 SDK:同一套核心 API 覆盖阿里云 OSS、腾讯云 COS、华为云 OBS、AWS S3(含 S3 兼容存储)与 Azure Blob Storage;支持浏览器、Node.js、Service Worker 与微信小程序;可通过自定义 provider 扩展。完整入口约 10kb (min+gzipped)——按需导入时 tree-shaking 会剔除未使用的操作,产物更小。 **[English](README.md) | 简体中文**