This is a
playground to test code. It runs a full
Node.js environment and already has all of
npm’s 400,000 packages pre-installed, including
@three11/extract-query-arg with all
npm packages installed. Try it out:
This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.
A vanilla ES2017 module for extracting query arguments from url.
npm i @three11/extract-query-arg
yarn add @three11/extract-query-arg
import extractQueryArg from '@three11/extract-query-arg'; // Get name parameter from current browser URL extractQueryArg('name');
GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007