url-to-json

command module
v1.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 15, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

README

url-to-json

license travis coverage report

Minimalistic binary to convert a url to json. The purpose is to avoid using (often incorrect) regular expressions in bash scripts. The json output can then be processed with jq.

Example:

$ url-to-json git@github.com:alokmenghrajani/url-to-json.git | jq -r .host
github.com

Building & running

Ready to grab binaries for Linux, MacOS X, and Windows are automatically made available on the release page. If you however want to build url-to-json from source, it should be fairly easy:

git clone https://github.com/alokmenghrajani/url-to-json.git
go build
./url-to-json

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL