Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/netzo/auth/utils/http.ts>getCursor

Deno-powered framework for building business web apps
Go to Latest
function getCursor
import { getCursor } from "https://deno.land/x/netzo@0.4.10/auth/utils/http.ts";

Returns the cursor URL parameter value of the given URL.

Examples

Example 1

import { getCursor } from "../../../../auth/utils/http.ts";

getCursor(new URL("http://example.com?cursor=12345")); // Returns "12345"
getCursor(new URL("http://example.com")); // Returns ""