@@ -20,12 +20,12 @@ Feel free to find bugs and report them to me. Your feedback is highly appreciate
2020jsDelivr:
2121
2222``` bash
23- https://cdn.jsdelivr.net/npm/multiform-validator@2.5.2 /+esm
23+ https://cdn.jsdelivr.net/npm/multiform-validator@2.6.0 /+esm
2424```
2525
2626``` html
2727<script type =" module" >
28- import multiform -validator from " https://cdn.jsdelivr.net/npm/multiform-validator@2.5.2 /+esm"
28+ import multiform -validator from " https://cdn.jsdelivr.net/npm/multiform-validator@2.6.0 /+esm"
2929 </script >
3030```
3131
@@ -34,19 +34,19 @@ https://cdn.jsdelivr.net/npm/multiform-validator@2.5.2/+esm
3434unpkg:
3535
3636``` bash
37- https://unpkg.com/multiform-validator@2.5.2 /dist/cjs/index.cjs
37+ https://unpkg.com/multiform-validator@2.6.0 /dist/cjs/index.cjs
3838```
3939
4040``` html
41- <script src =" https://unpkg.com/multiform-validator@2.5.2 /dist/cjs/index.cjs" ></script >
41+ <script src =" https://unpkg.com/multiform-validator@2.6.0 /dist/cjs/index.cjs" ></script >
4242```
4343
4444### Example of use with CDN
4545
4646using cjs:
4747
4848``` html
49- <script src =" https://unpkg.com/multiform-validator@2.5.2 /dist/cjs/index.cjs" ></script >
49+ <script src =" https://unpkg.com/multiform-validator@2.6.0 /dist/cjs/index.cjs" ></script >
5050<script >
5151 const emailResult = isEmail (" 123456" );
5252 const cpfResult = cpfIsValid (" 123456" );
@@ -61,9 +61,9 @@ using esm:
6161
6262``` html
6363<script type =" module" >
64- import multiformValidator from " https://cdn.jsdelivr.net/npm/multiform-validator@2.5.2 /+esm" ;
65- const emailResult = multiformValidator .isEmail (" 123456" );
66- const cpfResult = multiformValidator .cpfIsValid (" 123456" );
64+ import mv from " https://cdn.jsdelivr.net/npm/multiform-validator@2.6.0 /+esm" ;
65+ const emailResult = mv .isEmail (" 123456" );
66+ const cpfResult = mv .cpfIsValid (" 123456" );
6767
6868 console .log (emailResult); // returns false
6969 console .log (cpfResult .isValid ); // returns false
@@ -140,9 +140,9 @@ This package contains various modules for validating different types of data. Be
140140### For better information, read the documentation
141141
142142``` javascript
143- const validator = require (" multiform-validator" );
143+ const mv = require (" multiform-validator" );
144144// or
145- import validator from " multiform-validator" ;
145+ import mv from " multiform-validator" ;
146146
147147or;
148148
0 commit comments