README
Validator Service
This Npm Package contains a file ts that can be useful for Input Validation fields such as email, currency, password.
Installing
Go in your application folder and from Command Prompt run:
npm i validator-service -- save
How to
Now you have to import "ValidationService" first in app.module.ts , adding it in Providers (remember to fill the right path: "../../node_modules/validator-service/validation.service"). Then, in your ex. "form.ts" , or when you want ValidationService (don't forget that node_modules is an external library).