give-me-an-avatar
Advanced tools
Comparing version 0.7.0 to 1.0.0
{ | ||
"name": "give-me-an-avatar", | ||
"displayName": "Give Me an Avatar", | ||
"version": "0.7.0", | ||
"version": "1.0.0", | ||
"description": "Gets a random avatar URL from a collection of different avatar generation services.", | ||
@@ -6,0 +6,0 @@ "source": "./src/give-me-an-avatar.ts", |
@@ -16,5 +16,11 @@ <div align="center"> | ||
![MIT License](https://img.shields.io/static/v1.svg?label=📜%20License&message=MIT&color=informational) | ||
[![npm](https://img.shields.io/npm/v/give-me-an-avatar?color=brightgreen&logo=npm)](https://bit.ly/give-me-an-avatar) | ||
[![npm](https://img.shields.io/npm/v/give-me-an-avatar?color=brightgreen&logo=npm)](https://bit.ly/give-me-an-avatar) | ||
[![Tweet about this](https://img.shields.io/static/v1.svg?label=Tweet%20about%20this&message=🎵&color=blue&logo=twitter&style=social)](https://ctt.ac/k925T) | ||
## Usage | ||
Install the package from npm using the following command. | ||
```NPM Config | ||
npm i give-me-an-avatar | ||
``` | ||
After installing, simply import Give Me an Avatar in your file. | ||
@@ -24,3 +30,3 @@ ```javascript | ||
``` | ||
Consume the `giveMeAnAvatar()` API to get an avatar URL that you can use directly as an image. You can either call the method directly or supply the settings object to customize your avatar (only a bit). All settings are pretty self-explanatory and are not mandatory. For example: | ||
Consume the `giveMeAnAvatar()` API to get an avatar URL that you can use directly as an image. You can either call the method without any parameters or supply the settings object to customize your avatar a bit. All settings are pretty self-explanatory and are not mandatory. For example: | ||
```javascript | ||
@@ -27,0 +33,0 @@ let image = avatars.giveMeAnAvatar({ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
85488
0
72