2.4.2 • Published 8 years ago

auth-validations v2.4.2

Weekly downloads
2
License
MIT
Repository
github
Last release
8 years ago

travis build codecov coverage version downloads MIT License semantic-release

Auth-Validations

This is a npm module that validates common inputs for user registration process.

Install

npm install auth-validations

In your javascript file,

var av = require('auth-validations');

API

validateEmail(email)

Return error message (String). If the error message length is 0, the validation passed successfully.

validatePassword(password)

Returns an array of error messages (String). If the array is empty, the validation passed successfully.

validateStringLength0to50(text)

Return error message (String). If the error message length is 0, the validation passed successfully.

2.4.2

8 years ago

2.4.1

8 years ago

2.4.0

8 years ago

2.3.0

8 years ago

2.1.0

8 years ago

2.0.0

8 years ago

1.0.0

8 years ago