Skip to content

Commit

Permalink
Update description for CDN download
Browse files Browse the repository at this point in the history
  • Loading branch information
randoum committed Apr 19, 2021
1 parent a6f597f commit 0737589
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,20 @@ import {AbstractEmailValidation} from 'javascript-email-validation'
AbstractEmailValidation.configure('API_KEY')
```

### Browser, from the CDN

You can have the browser download the library from its closest location through jsDeliver CDN:

```js
<script src="https://cdn.jsdelivr.net/npm/@abstractapi/javascript-core@latest/dist/javascript-core.js"></script>
<script src="https://cdn.jsdelivr.net/npm/@abstractapi/javascript-email-validation@latest/dist/javascript-email-validation.js"></script>
<script>
AbstractEmailValidation.configure('API_KEY');

// use the library
</script>
```

### Browser, from the built file

You can build the library yourself, or get the already built file from the `dist` directory and load it:
Expand Down

0 comments on commit 0737589

Please sign in to comment.