UNPKG

opawg-node

Version:

Simple access to OPAWG's useful host and prefix lists

13 lines (7 loc) 632 B
# opawg-node Simple interface to check URLs against the OPAWG [podcast-host](https://github.com/opawg/podcast-hosts) and [podcast-prefixes](https://github.com/opawg/podcast-prefixes) lists. The list is updated on each release. If you need more real time results, try [podcast-privacy.com](https://podcast-privacy.com/)'s API. ### Install `npm install opawg-node` ### Usage - `getHostInfo(<string>)`, returns a single entry from [podcast-host](https://github.com/opawg/podcast-hosts) - `getPrefixInfo(<string>)`, returns an array of matching prefix providers from [podcast-prefixes](https://github.com/opawg/podcast-prefixes)