lsf

login-signup-form-validations

npm package for login and signup form validations

Showing:

Popularity

Downloads/wk

12

GitHub Stars

0

Maintenance

Last Commit

4yrs ago

Contributors

0

Package

Dependencies

1

License

ISC

Type Definitions

Tree-Shakeable

No?

Categories

Readme

LOGIN-SIGNUP-FORM-VALIDATIONS

A NPM package for validating the login signup form validations and much more.

Getting Started

To install the package just type

npm install login-signup-form-validations --save

How To Import

for angular 2 just import the pacakge as below.

import * as _ from login-signup-form-validations;

for node.js or js applications import it as below.

var validate = require('login-signup-from-validations');

How To Use

after importing the package into the application just use the object name to call the functions.

available functions in the packages are as follows.

checkEmail(args)

checkPassword(args)

checkCharacter(args)

these function will return either true/false so that no need to write the form validations in the applications just import and use the functions.

getCountries()

above function will return a JSON ARRAY contains all the countries of the world.

getStates(args)

above function will take arguments as countryCode for-example: IN for INDIA so you need to pass getStates(IN) as args.

Note: countryCodes are not case sensitive.

getStatesWithCities(args)

above function will take arguments as countryCode for-example: IN for INDIA so you need to pass getStatesWithCities(IN) as args.

Note: countryCodes are not case sensitive.

Versioning

We use SemVer for versioning. For the versions available, see the tags on this repository.

Authors

Karthik S - karthikmunsu@gmail.com

License

This project is licensed under the MIT License - see the LICENSE.md file for details

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100