Skip to content

derhuerst/url-decode-encode-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

url-decode-encode-cli

Command line utility for URL decoding & encoding. No dependencies.

npm version build status dependency status dev dependency status ISC-licensed support me via GitHub Sponsors chat with me on Twitter

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.