Git Product home page Git Product logo

rapid-jwt's Introduction

neo-form-validations is built to make your clientside form validations much easier.

want to contribute?.

Installation

if you're using npm :: npm install neo-form-validations

if you're using yarn :: yarn add neo-form-validations

Documentation

react

import validate from 'neo-form-validations'

Examples

We have several examples on the website. Here is the first one to get you started:

import vaidate from 'neo-form-validations';

validate.isUser(username)
// it will make sure your username contains atleast one uppercase or it is not an empty string.it will return a boolean value.


validate.isEmail(email)
//it will make sure the user input is a proper email an it is not an empty string. it will return a boolean value.


validate.isReEnter(passwordOne,passwordTwo)
//it is to confirm password if you have a confirm password field in your form. it will return a boolean value.

validate.isPassword(password)
// The Password must not contain any whitespaces.

// The Password must contain at least one Uppercase character.

// The Password must contain at least one Lowercase character.

// The Password must contain at least one digit.

// The Password must have at least one Special Symbol.

//The Password must be 10-16 characters long.

// it will return an object containing a boolean value an a message

/*

eg:

  {
    status: "false", " message:"Password must be 10-16 Characters Long. "
    
  }

  */

Contributing

Feel free to contribute an make sure to notify if you're facing any problems with this project.

License

Neo-from-validation licensed.# Neo-from-validation

Neo-from-validation

rapid-jwt's People

Contributors

dennys27 avatar

Stargazers

Faisal K avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.