Skip to content
This repository was archived by the owner on Dec 19, 2024. It is now read-only.

rtritto/fastest-qs

Repository files navigation

ARCHIVED

Repository moved to templates-ecosystem.

fastest-qs

This project is an object version is an exported fast-querystring used by Elysia (source), which in turn is inspired by the original fast-querystring.

Installation

To install the package, run the following command:

yarn add fastest-qs

Usage

import { parseQueryFromURL } from 'fastest-qs'

const queryURL = 'q=1&q2'

const query = parseQueryFromURL(queryURL)

console.log('Query:', query)   // { q: 1, q: 2 }

License

This project is licensed under the MIT License.

Licenses for third-party projects are listed in THIRD-PARTY-LICENSE.