Skip to content

Commit

Permalink
docs: add badges
Browse files Browse the repository at this point in the history
  • Loading branch information
uiolee committed Jan 2, 2024
1 parent de130b3 commit ca69c44
Showing 1 changed file with 16 additions and 5 deletions.
21 changes: 16 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,22 +1,33 @@
# create-hexo

![npm](https://img.shields.io/npm/v/create-hexo?link=https%3A%2F%2Fwww.npmjs.com%2Fpackage%2Fcreate-hexo)
![node-current](https://img.shields.io/node/v/create-hexo)
![npm-download](https://img.shields.io/npm/dm/create-hexo)
[![CI](https://github.com/uiolee/create-hexo/actions/workflows/ci.yml/badge.svg?branch=main&event=push)](https://github.com/uiolee/create-hexo/actions/workflows/ci.yml)

> Hexo site initializer
## Usage

### pnpm

```bash
npm init hexo [path]
pnpm create hexo [path]

# npm exec create-hexo [path]
# npx create-hexo [path]
# pnpm dlx create-hexo [path]
```

### npm

```bash
pnpm create hexo [path]
npm init hexo [path]

# pnpm dlx create-hexo [path]
# npm exec create-hexo [path]
# npx create-hexo [path]
```

### Yarn

```bash
yarn create hexo [path]
```

0 comments on commit ca69c44

Please sign in to comment.