@jswork/next-random-avatar
v1.0.3
Published
Random avatar api.
Downloads
5
Readme
next-random-avatar
Random avatar api.
installation
npm install -S @jswork/next-random-avatar
apis
| api | params | description | | ----- | ------ | ------------------------------- | | men | - | Get random men image list. | | women | - | Get random women image list. | | lego | - | Get random men lego list. | | get | - | Get random men/women/lego image. | | gets | - | Get random men/women/lego image list. |
usage
import NxRandomAvatar from '@jswork/next-random-avatar';
NxRandomAvatar.men(/*1~100*/);
NxRandomAvatar.women(/*1~100*/);
NxRandomAvatar.lego(/*1~10*/);
license
Code released under the MIT license.