countryblock.js
Version:
Block countries you do not want to enter the site
35 lines (26 loc) • 903 B
Markdown
# countryblock.js
### Block countries you do not want to enter the site
### <p align="left"><img src="https://img.shields.io/github/license/mestoness/countryblock.js?style=for-the-badge"/> <img src="https://img.shields.io/npm/v/countryblock.js?style=for-the-badge"/> <img src="https://img.shields.io/npm/dt/countryblock.js?style=for-the-badge"/> </p>
## Author
Ahmet Baki Memiş
## Contact
<a href="mailto:resistmaze@gmail.com">Use this address to contact me</a>
## NPM
```
npm install countryblock.js
```
## CDN
```html
<script src="https://unpkg.com/countryblock.js/dist/js/countryblock.min.js"></script>
```
## Example
``` html
<script src="https://unpkg.com/countryblock.js/dist/js/countryblock.min.js"></script>
<script>
countryBlock({
status:true,
country:["TR","USA"],
locationHref:"https://github.com/mestoness/countryblock.js"
});
</script>
```