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-2655jthawme-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@dennishellernokia/nuxt-authstephanjohnson-nuxt-authunkit@kylesmith0905/sidebase__nuxt-auth@nik7212/nuxt2-auth-modulemoveton.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-modified@nuxtjs/auth-next@noomz/auth@nuxt-alt/auth@felix98765/authey@fogine/nuxtjs-auth-next@fetaoily/nuxt-auth@plenexy/nuxt-sanctum@spokt1/nuxt-auth@symbol-it/nuxt-strapi-axios@teamnovu/nuxt-imageezpassezpass-temp@privyid/nuauth@privyid/nugrpc-api-nuxt@proply/strapi@bitpod/auth-next@bitpod/auth-nuxt@bitpod/auth-nuxt-custom@bgscp/nuxt-auth@bimdata/nuxt-auth@badaso/nuxt@brandboostinggmbh/imageautheyauthey-test@arindambiswas1/nuxt-auth-custom@alejeune/auth-next@maprox/nuxt-image@jeroendekker82/nuxt-image@netsells/nuxt-auth-module@sidebase/nuxt-auth@luigdima/nuxtjs-strapi@lucasroll62/nuxt2-auth-module@lucasroll62/nuxt3-auth@minlia/nuxtjs-auth@rowboat/nuxt-image@safematrix-auth/nuxt-auth@reapermaga/nuxt-auth-fix@somefix/nuxtjs-auth@dommidev10/nuxt-auth@salesqueze/sdk@draftbot/nuxtjs-auth@do4mother/nuxtjs-auth@mitto98/nuxt-auth-tmp@codetheorist/nuxt-auth@m-a-k-o/auth@eloqjs/nuxt-next-auth
3.0.2

5 years ago

3.0.1

5 years ago

3.0.0

5 years ago

2.0.1

6 years ago

2.0.0

6 years ago

1.3.21

9 years ago