Socket
Socket
Sign inDemoInstall

esmile-useful

Package Overview
Dependencies
Maintainers
1
Versions
89
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

esmile-useful

Esmile Utility


Version published
Weekly downloads
4
decreased by-20%
Maintainers
1
Weekly downloads
 
Created
Source

Installation

npm i esmile-useful

yarn add esmile-useful

Nodejs Version

  • v16.9.0 or higher
  • Discord [Esmile Discord]

Example

Esmile

Sections

Validations

FunctionDescription
isValidNumberCheck if it is a number
isEmptyStringCheck if the text is not empty
isValidUrlCheck that the text is a link
isValidEmailCheck if it is a email

Generators

FunctionDescription
generateCaptchaGenerate a captcha
generateKeyGenerate a key

Colors

FunctionDescription
colorHashtagContains all hex colors starting with #
colorZeroContains all hex colors starting with 0x
listLogColorContains the colors for the log section

Utils

FunctionDescription
millisecondConverts the indicated time to milliseconds
waitExecute the code after a while
logMake a log with or without color
typeCheck what type is provided
randomGet a random number between 2 numbers
randomItemGet a random element from an array
symbolsReturns a selected symbol

Keywords

FAQs

Package last updated on 12 Mar 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc