Browser version of abolish javascript validator
npm install abolish-browserTo use abolish directly in your browser without package managers.
html
`
Abolish is exposed as window.Abolish while
Rule is exposed as window.AbolishRule
ParseRules is exposed as window.AbolishParseRules`html
``json
{
"error": {
"key": "age",
"type": "validator",
"validator": "max",
"message": "Age is too big. (Max. 5)",
"data": null
}
}
``