## IPBlockList
thread-keeper
**Author**: The Harvard Library Innovation Lab
**License**: MIT
* [IPBlockList](#utils.module_IPBlockList)
* [.IPBlockList](#utils.module_IPBlockList.IPBlockList)
* [new exports.IPBlockList()](#new_utils.module_IPBlockList.IPBlockList_new)
* [.filepath](#utils.module_IPBlockList.IPBlockList+filepath) : string
* [.check(ip)](#utils.module_IPBlockList.IPBlockList+check)
### IPBlockList.IPBlockList
Utility class for handling the app's IP block list.
[!] For alpha launch only.
**Kind**: static class of [IPBlockList
](#utils.module_IPBlockList)
* [.IPBlockList](#utils.module_IPBlockList.IPBlockList)
* [new exports.IPBlockList()](#new_utils.module_IPBlockList.IPBlockList_new)
* [.filepath](#utils.module_IPBlockList.IPBlockList+filepath) : string
* [.check(ip)](#utils.module_IPBlockList.IPBlockList+check)
#### new exports.IPBlockList()
On init:
- Create access keys file if it doesn't exist
- Load IPS from file into `this.#ips`.
#### ipBlockList.filepath : string
Complete path to `ip-block-list.json`.
**Kind**: instance property of [IPBlockList
](#utils.module_IPBlockList.IPBlockList)
#### ipBlockList.check(ip)
Checks that a IP is on the blocklist and (still) blocked.
**Kind**: instance method of [IPBlockList
](#utils.module_IPBlockList.IPBlockList)
| Param | Type |
| --- | --- |
| ip | string
|