Before making a PR, please open an issue so we can discuss the feature/change.
Clone the repository:
git clone https://github.com/skaterdav85/validatorjs.git && cd validatorjs
Install dependencies:
npm install
Now you're ready to develop.
Source files are located in src/
. Tests are located in spec/
, and can be run with:
npm test
Please use spaces instead of tabs.
If you'd like to add support for another language, create the appropriate module in src/lang/
.