three11 / extract-query-arg

Extract query argument from url

Home Page:http://www.npm.im/@three11/extract-query-arg

Repository from Github https://github.comthree11/extract-query-argRepository from Github https://github.comthree11/extract-query-arg

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

About

Extract query argument from url

http://www.npm.im/@three11/extract-query-arg

License:GNU General Public License v3.0


Languages

Language:TypeScript 100.0%