Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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: 5 days ago
JSON representation

Command line utility for URL decoding & encoding.

Awesome Lists containing this project

README

        

# *url-decode-encode-cli*

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

[![npm version](https://img.shields.io/npm/v/url-decode-encode-cli.svg)](https://www.npmjs.com/package/url-decode-encode-cli)
[![build status](https://img.shields.io/travis/derhuerst/url-decode-encode-cli.svg)](https://travis-ci.org/derhuerst/url-decode-encode-cli)
[![dependency status](https://img.shields.io/david/derhuerst/url-decode-encode-cli.svg)](https://david-dm.org/derhuerst/url-decode-encode-cli)
[![dev dependency status](https://img.shields.io/david/dev/derhuerst/url-decode-encode-cli.svg)](https://david-dm.org/derhuerst/url-decode-encode-cli#info=devDependencies)
![ISC-licensed](https://img.shields.io/github/license/derhuerst/url-decode-encode-cli.svg)
[![support me via GitHub Sponsors](https://img.shields.io/badge/support%20me-donate-fa7664.svg)](https://github.com/sponsors/derhuerst)
[![chat with me on Twitter](https://img.shields.io/badge/chat%20with%20me-on%20Twitter-1da1f2.svg)](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).