fqs

v2.2.0
Pretty-print URLs

fqs

Pretty-print query strings and hash fragments in a human-readable, copy-pasteable format

Installation

npm install -g fqs
yarn global add fqs

Usage

$ fqs "https://example.com/foo?d=3&c=2#b=1&a=0"
https://example.com/foo
?c=2&
d=3
#a=0&
b=1
$ echo "https://example.com/foo?d=3c=2#b=1&a=0" | fqs
https://example.com/foo
?c=2&
d=3
#a=0&
b=1

Output from fqs can be pasted directly to a browser's address bar.

Metadata

  • GPL-3.0
  • Whatever
  • Rodrigo López Dato
  • released 1/6/2017

Downloads

Maintainers