esmile-useful v0.2.0
Installation
npm i esmile-useful
yarn add esmile-useful
Nodejs Version
v16.9.0
or higher
Links
Example
Sections
Images
Function | Description |
---|---|
kiss | Gets a URL of a kiss image/gif |
pat | Gets a URL of a pat image/gif |
hug | Gets a URL of a hug image/gif |
feed | Gets a URL of a feed image/gif |
slap | Gets a URL of a slap image/gif |
Validations
Function | Description |
---|---|
isValidNumber | Check if it is a number |
isEmptyString | Check if the text is not empty |
isValidUrl | Check that the text is a link |
isValidEmail | Check if it is a email |
Generators
Function | Description |
---|---|
generateCaptcha | Generate a captcha |
generateKey | Generate a key |
Colors
Function | Description |
---|---|
colorHashtag | Contains all hex colors starting with # |
colorZero | Contains all hex colors starting with 0x |
listLogColor | Contains the colors for the log section |
Utils
Function | Description |
---|---|
millisecond | Converts the indicated time to milliseconds |
wait | Execute the code after a while |
log | Make a log with or without color |
type | Check what type is provided |
random | Get a random number between 2 numbers |
randomItem | Get a random element from an array |
symbols | Returns a selected symbol |
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
2 years ago
1 year ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
1 year ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago