3.0.2 • Published 5 years ago

requrl v3.0.2

Weekly downloads
18,935
License
MIT
Repository
github
Last release
5 years ago

requrl

npm dt bundlephobia

Grab full URL from request.

Features

  • Universal (browser and node.js) support
  • Detect HTTPS requests using is-https
  • Support x-forwarded-proto and x-forwarded-host
  • Always encode URI
  • Super Small

Usage

import getURL from 'requrl'
// OR
const getURL = require('requrl')

Function signuture is:

function getURL(req?: IncomingMessage, includePath?: boolean): string

Example:

const url = getURL(req)
// http://localhost:3000
// https://www.foo.com

License

MIT

@nuxtjs-alt/authauth-next-gd@infinitebrahmanuniverse/nolb-requrnuxt3-custom-auth@everything-registry/sub-chunk-2655@rowboat/nuxt-imagejthawme-nuxt-imageh3-basic-authlocaldev-tui@wirlax/auth@unergy-dev/fork-next@toyopilgrim/nuxt-alt-auth@vijayabhaskar96/nuxt-auth@yashx/nuxt-auth-popupauth-nuxtauthy-nuxtauthy-nuxt3-test@codetheorist/nuxt-auth@alejeune/auth-next@dennishellernokia/nuxt-authstephanjohnson-nuxt-authunkit@badaso/nuxt@bimdata/nuxt-auth@bitpod/auth-next@bitpod/auth-nuxt@bitpod/auth-nuxt-custom@bgscp/nuxt-auth@brandboostinggmbh/image@kylesmith0905/sidebase__nuxt-auth@netsells/nuxt-auth-module@nik7212/nuxt2-auth-module@privyid/nuauth@safematrix-auth/nuxt-auth@salesqueze/sdk@proply/strapi@privyid/nugrpc-api-nuxt@reapermaga/nuxt-auth-fix@plenexy/nuxt-sanctummoveton.authmnt-nuxt-authnuxtjs_auth-geeknuxt-statamicnuxt-aclnuxt-seo-metanuxt2-strapi4nuxtjs-multi-authnuxtjs-authnuxtjs-custom-authnuxtjs-strapi-refresh-tokennuxt-auth-wensaintnuxt-auth-forksidebase-auth-refreshsidebase-auth-refresh-modifiedautheyauthey-test@spokt1/nuxt-auth@symbol-it/nuxt-strapi-axios@teamnovu/nuxt-imageezpassezpass-temp@somefix/nuxtjs-auth@m-a-k-o/auth@felix98765/authey@maprox/nuxt-image@do4mother/nuxtjs-auth@fogine/nuxtjs-auth-next@arindambiswas1/nuxt-auth-custom@lucasroll62/nuxt2-auth-module@lucasroll62/nuxt3-auth@luigdima/nuxtjs-strapi@fetaoily/nuxt-auth@nuxt-alt/auth@nuxtjs/auth-next@noomz/auth@eloqjs/nuxt-next-auth@jeroendekker82/nuxt-image@dommidev10/nuxt-auth@draftbot/nuxtjs-auth@minlia/nuxtjs-auth@sidebase/nuxt-auth@mitto98/nuxt-auth-tmp
3.0.2

5 years ago

3.0.1

5 years ago

3.0.0

5 years ago

2.0.1

5 years ago

2.0.0

5 years ago

1.3.21

9 years ago