Comparing version 1.1.0 to 1.1.1
{ | ||
"name": "jsvat", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"description": "Check the validity of the format of an EU VAT number", | ||
@@ -52,10 +52,10 @@ "main": "./dist/jsvat.js", | ||
"gulp-todo": "^4.1.0", | ||
"gulp-uglify": "^1.5.3", | ||
"gulp-uglify": "^2.0.0", | ||
"gulp-watch": "^4.3.5", | ||
"gulp-webstandards": "^0.1.1", | ||
"gulp-wrap": "^0.11.0", | ||
"gulp-wrap": "^0.13.0", | ||
"jshint": "^2.9.2", | ||
"jshint-stylish": "^2.1.0", | ||
"minimist": "^1.2.0", | ||
"mocha": "^2.4.5", | ||
"mocha": "^3.0.0", | ||
"require-dir": "^0.3.0", | ||
@@ -62,0 +62,0 @@ "run-sequence": "^1.1.5" |
@@ -33,3 +33,3 @@ [![Codacy Badge](https://api.codacy.com/project/badge/grade/874e7dce623149e18807bdc0a02671c2)](https://www.codacy.com/app/se-panfilov/jsvat) | ||
``` | ||
```javascript | ||
jsvat.checkVAT('BG131134023'); // {isValid: true, country: 'bulgaria', value: 'BG131134023'} | ||
@@ -43,6 +43,6 @@ jsvat.checkVAT('BG0433170001'); //{isValid: false, country: null, value: 'BG0433170001'} | ||
``` | ||
```javascript | ||
jsvat.config = ['austria', 'belgium']; //All countries except 'austria' and 'belgium' would return false | ||
jsvat.checkVAT('BG131134023'); //valid VAT, but result would be 'false' | ||
``` | ||
``` | ||
@@ -73,3 +73,3 @@ To reset config just do `jsvat.config = [];` | ||
``` | ||
```javascript | ||
jsvat.chcekVat(vat); //returns Object | ||
@@ -76,0 +76,0 @@ ``` |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
232976
94