url-decode-encode-cli
v2.1.0
Published
Command line utility for URL decoding & encoding.
Downloads
1,558
Maintainers
Readme
url-decode-encode-cli
Command line utility for URL decoding & encoding. No dependencies.
Installing
npm install -g url-decode-encode-cli
Usage
echo -n '{"foo": "bar"}' | url-encode # %7B%22foo%22%3A%20%22bar%22%7D
echo -n '%7B%22foo%22%3A%20%22bar%22%7D' | url-decode # {"foo": "bar"}
echo -n '{"foo": "bar"}' >some-file
url-encode some-file # %7B%22foo%22%3A%20%22bar%22%7D
Contributing
If you have a question, found a bug or want to propose a feature, have a look at the issues page.