Skip to main content
Version: 1.2.0

Getting Started

valiend is an open source package with which you can easily validate your users' information. You can validate information such as email, password, mobile number, username with this package. Using this package is very easy and you only need to install it using npm

What you'll need

To use valiend, you need Node.js with any version you want

install

You can use valiend in various frameworks and libraries, such as React.js, Next.js, Express.js, Fastify and other tools available in npm .

npm i --save valiend

You can type this command into Command Prompt, Powershell, Terminal, or any other integrated terminal of your code editor.

The command also installs all necessary dependencies you need to use valiend.

Usage example

This is how you can validate an email in valiend:

valiend.isEmail('aeromche@gmail.com');

In the following, we discuss other valiend methods and how to use this package