@three11/extract-query-arg
TypeScript icon, indicating that this package has built-in type declarations

2.0.0 • Public • Published

GitHub release GitHub issues GitHub last commit Build Status npm npm Analytics

Extract Query Argument

Extract a query string from a given URL

Install

npm i @three11/extract-query-arg

or

yarn add @three11/extract-query-arg

Usage

import extractQueryArg from '@three11/extract-query-arg';

// Get name parameter from current browser URL
extractQueryArg('name');

License

GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007

Dependencies (0)

    Dev Dependencies (6)

    Package Sidebar

    Install

    npm i @three11/extract-query-arg

    Weekly Downloads

    5

    Version

    2.0.0

    License

    GPL-3.0

    Unpacked Size

    43.5 kB

    Total Files

    13

    Last publish

    Collaborators

    • scriptex
    • alpanayotov