build/index.js
async function ip(options = {}) {
  const {
    host = 'https://api.ipify.org',
  } = options
  const res = await rqt(host)
  return res
}
async function ip(options = {}) {
  const {
    host = 'https://api.ipify.org',
  } = options
  const res = await rqt(host)
  return res
}
async function ip ( options = { } ) { const { host = 'https://api.ipify.org' , } = options const res = await rqt ( host ) return res }
Returns a public IP address of the host.
@param {Options} options Options for the request.
@param {string} [options.host="https://api.ipify.org"] The address from which to get the IP address. Default `https://api.ipify.org`.
Returns a public IP address of the host .