user-icon-generator v1.0.4
Getting started with icon generation
Installation
This is a Node.js module available through the npm registry.
Before installing, download and install Node.js.
Installation of package is done using the npm install command:
$ npm install --save user-icon-generator
Usage
- Requiring the module
var icons = require('user-icon-generator');
This icons(fullname,color) method returns a image .
var icons=require("user-icon-generator");
icons("Lokesh Choubisa","black").then((icon)=>
{
if(!icon.error)
{
let image=icon.file;
console.log(image);
}
else
{
console.log(icon.error);
}
})
### Output
<img align="center" width="80" height="80" src="https://i.ibb.co/D8tqKg2/file.png" />
## Want to contribute ?
> Please check out this repository [here](https://github.com/Lokeshchoubisa/user-icon-generator)!
# Thankyou for being here! 😊
Check out my other Repositories [here](https://github.com/Lokeshchoubisa)
/ _| | | | | | | |
| ( | | _ _ | | _ __ __ | | | |
_ | __/ | | | | | | | _ \| __ | _ \ / _ \| ___| | | _ / _ \/ _
|
_) | || (| | || | | || || | | || | | | /| | | |_| || / (_| |
|_/ ___,|__, | |_|___|_| || | | |_| | _| |__ | _|_,|
/ |
|_/
## Connect
> [Linkedin](https://www.linkedin.com/in/lokesh-choubisa-450a98195/)
> [Gmail](lokeshchoubisa26@gmail.com)