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 ​

Source • Docs

Changelog ​

v4.1.2 on 8/15/2025
d074e - feat: add function getQueryParam

Released under the MIT License.