Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

opawg-node

headgum172MIT0.1.7

Simple access to OPAWG's useful host and prefix lists

podcasts, opawg

readme

opawg-node

Simple interface to check URLs against the OPAWG podcast-host and podcast-prefixes lists. The list is updated on each release. If you need more real time results, try podcast-privacy.com's API.

Install

npm install opawg-node

Usage

  • getHostInfo(<string>), returns a single entry from podcast-host
  • getPrefixInfo(<string>), returns an array of matching prefix providers from podcast-prefixes