dicebear 10.1.0 → 10.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +36 -8
  2. package/package.json +3 -3
package/README.md CHANGED
@@ -1,13 +1,41 @@
1
1
  <h1><img src="https://www.dicebear.com/logo-readme.svg" width="28" /> DiceBear CLI</h1>
2
2
 
3
- <p>
4
- <img src="https://api.dicebear.com/9.x/adventurer/svg?seed=Mimi&backgroundColor=0077b6&radius=10" width="64" />
5
- <img src="https://api.dicebear.com/9.x/open-peeps/svg?seed=Kitty&backgroundColor=0096c7&radius=10" width="64" />
6
- <img src="https://api.dicebear.com/9.x/pixel-art/svg?seed=Lilly&backgroundColor=00b4d8&radius=10" width="64" />
7
- <img src="https://api.dicebear.com/9.x/lorelei/svg?seed=Tigger&backgroundColor=48cae4&radius=10" width="64" />
8
- <img src="https://api.dicebear.com/9.x/bottts/svg?seed=Zoe&backgroundColor=90e0ef&radius=10" width="64" />
9
- <img src="https://api.dicebear.com/9.x/initials/svg?seed=..&backgroundColor=ade8f4&radius=10" width="64" />
10
- </p>
3
+ Command-line interface for the DiceBear avatar library. Generates avatars from
4
+ any built-in or custom style and saves them as SVG, PNG, JPEG, WebP or AVIF.
11
5
 
12
6
  [Playground](https://www.dicebear.com/playground) |
13
7
  [Documentation](https://www.dicebear.com/how-to-use/cli/)
8
+
9
+ ## Installation
10
+
11
+ ```sh
12
+ npm install --global dicebear
13
+ ```
14
+
15
+ Requires Node.js 22+.
16
+
17
+ ## Usage
18
+
19
+ ```sh
20
+ # Generate one SVG avatar in the current directory
21
+ dicebear lorelei .
22
+
23
+ # Generate 10 PNG avatars in ./avatars
24
+ dicebear lorelei ./avatars --count 10 --format png
25
+ ```
26
+
27
+ Pass style options as flags (e.g. `--seed "John Doe"`). Run `dicebear --help`
28
+ to list every style and its options.
29
+
30
+ ## Sponsors
31
+
32
+ Advertisement: Many thanks to our sponsors who provide us with free or
33
+ discounted products.
34
+
35
+ <a href="https://bunny.net/" target="_blank" rel="noopener noreferrer">
36
+ <picture>
37
+ <source media="(prefers-color-scheme: dark)" srcset="https://www.dicebear.com/sponsors/bunny-light.svg">
38
+ <source media="(prefers-color-scheme: light)" srcset="https://www.dicebear.com/sponsors/bunny-dark.svg">
39
+ <img alt="bunny.net" src="https://www.dicebear.com/sponsors/bunny-dark.svg" height="64">
40
+ </picture>
41
+ </a>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dicebear",
3
- "version": "10.1.0",
3
+ "version": "10.2.0",
4
4
  "private": false,
5
5
  "description": "CLI for DiceBear — unique avatars from dozens of styles.",
6
6
  "homepage": "https://github.com/dicebear/dicebear",
@@ -26,8 +26,8 @@
26
26
  "test": "node --test"
27
27
  },
28
28
  "dependencies": {
29
- "@dicebear/converter": "10.1.0",
30
- "@dicebear/core": "10.1.0",
29
+ "@dicebear/converter": "10.2.0",
30
+ "@dicebear/core": "10.2.0",
31
31
  "@dicebear/styles": "^10.1.0",
32
32
  "ajv": "^8.17.1",
33
33
  "chalk": "^5.4.1",