Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update badges in README.md #2041

Closed
wants to merge 6 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 24 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<img src="./logo/logo-web.svg" width="348.61" height="100" alt=""/>
</div>

# SVGO [![npm](https://img.shields.io/npm/v/svgo)](https://npmjs.org/package/svgo) [![chat](https://img.shields.io/discord/815166721315831868)](https://discord.gg/z8jX8NYxrE) [![docs](https://img.shields.io/badge/docs-svgo.dev-blue)](https://svgo.dev/)
# SVGO [![Discord](https://img.shields.io/discord/815166721315831868?logo=discord&logoColor=whitesmoke&label=Discord&color=5865F2)](https://discord.gg/z8jX8NYxrE) [![docs](https://img.shields.io/badge/docs-svgo.dev-blue)](https://svgo.dev) [![GitHub License](https://img.shields.io/github/license/svg/svgo?logo=github)](https://github.com/svg/svgo/blob/main/LICENSE)

SVGO, short for **SVG O**ptimizer, is a Node.js library and command-line application for optimizing SVG files.

Expand All @@ -14,17 +14,37 @@ SVG files, especially those exported from vector editors, usually contain a lot

You can install SVGO globally through npm, yarn, or pnpm. Alternatively, drop the global flag (`global`/`-g`) to use it in your Node.js project.

### npm
[![Download](https://img.shields.io/badge/npm-Download-blue?logo=npm)](https://www.npmjs.com/package/svgo)
![NPM Collaborators](https://img.shields.io/npm/collaborators/svgo?logo=npm)
![NPM License](https://img.shields.io/npm/l/svgo?logo=npm)
[![npm](https://img.shields.io/npm/v/svgo?logo=npm)](https://npmjs.org/package/svgo)

![NPM Downloads](https://img.shields.io/npm/dw/svgo?logo=npm)
![NPM Downloads](https://img.shields.io/npm/dm/svgo?logo=npm)
![NPM Downloads](https://img.shields.io/npm/dy/svgo?logo=npm)
![NPM Downloads](https://img.shields.io/npm/d18m/svgo?logo=npm)

```sh
# npm
npm install -g svgo
```

# yarn
### yarn
[![Static Badge](https://img.shields.io/badge/yarn-Download-blue?logo=yarn)](https://yarnpkg.com/package?name=svgo)
```sh
yarn global add svgo
```

# pnpm
### pnpm
```sh
pnpm add -g svgo
```

### Homebrew
```sh
brew install svgo
```

## Command-line usage

Process single files:
Expand Down