https://github.com/derhuerst/url-decode-encode-cli
Command line utility for URL decoding & encoding.
https://github.com/derhuerst/url-decode-encode-cli
Last synced: 3 months ago
JSON representation
Command line utility for URL decoding & encoding.
- Host: GitHub
- URL: https://github.com/derhuerst/url-decode-encode-cli
- Owner: derhuerst
- License: isc
- Created: 2016-08-22T21:53:13.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2021-08-17T17:49:40.000Z (almost 4 years ago)
- Last Synced: 2025-04-15T05:36:34.675Z (3 months ago)
- Language: JavaScript
- Homepage: https://github.com/derhuerst/url-decode-encode-cli
- Size: 18.6 KB
- Stars: 14
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: readme.md
- License: license.md
Awesome Lists containing this project
README
# *url-decode-encode-cli*
**Command line utility for URL decoding & encoding.** No dependencies.
[](https://www.npmjs.com/package/url-decode-encode-cli)
[](https://travis-ci.org/derhuerst/url-decode-encode-cli)
[](https://david-dm.org/derhuerst/url-decode-encode-cli)
[](https://david-dm.org/derhuerst/url-decode-encode-cli#info=devDependencies)

[](https://github.com/sponsors/derhuerst)
[](https://twitter.com/derhuerst)## Installing
```shell
npm install -g url-decode-encode-cli
```## Usage
```shell
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](https://github.com/derhuerst/url-decode-encode-cli/issues).