File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -30,6 +30,20 @@ import {AbstractPhoneValidation} from 'javascript-phone-validation'
3030AbstractPhoneValidation .configure (' API_KEY' )
3131```
3232
33+ ### Browser, from the CDN
34+
35+ You can have the browser download the library from its closest location through jsDeliver CDN:
36+
37+ ``` js
38+ < script src= " https://cdn.jsdelivr.net/npm/@abstractapi/javascript-core@latest/dist/javascript-core.js" >< / script>
39+ < script src= " https://cdn.jsdelivr.net/npm/@abstractapi/javascript-phone-validation@latest/dist/javascript-phone-validation.js" >< / script>
40+ < script>
41+ AbstractEmailValidation .configure (' API_KEY' );
42+
43+ // use the library
44+ < / script>
45+ ```
46+
3347### Browser, from the built file
3448
3549You can build the library yourself, or get the already built file from the ` dist ` directory and load it:
You can’t perform that action at this time.
0 commit comments