Skip to content

getUrlParam

Category
Last Changed
8月15日16时0分
Related

Get a single URL parameter (from the "location.search", before "#")

Usage

ts
import { getUrlParam } from 'comuse-shared'

const query = getUrlParam('key')

Source

SourceDocs

Changelog

v4.1.2 on 8/15/2025
d074e - feat: add function getQueryParam
v4.1.1 on 8/5/2025
f4d87 - feat: add useInterval
1bccb - fix: useVConsole
v4.1.0 on 8/1/2025
bc8f2 - feat: add useStorage
ffe0c - feat: add useQRCode and useVSConsle

Released under the MIT License.