js-form-validation
Repo has a form validation pattern smart way + unit testing with mocha and chai.
Goals
- easy to read
- ease to use
- ease to test using unit testing
- Your dirty job is reduced with gulp task runner
- ease to contribute
Instalation
- clone repo
git clone git@github.com:ShavidzeT/js-form-validation.git
ornpm install js-form-validation
npm install
how to use
- You should install first to all
- Go in repo
cd js-validation/
- Run unit test to show passed tasks, just type
gulp
ormocha
. - To use and test in browser go in
js-validation/public
dir and run python web serverpython3 -m http.server