url-utils

A small set of utilities for manipulating URLs.

Daniel Bayley

1,464

6

Bug Reports

0.2.1

MIT

GitHub

badge badge

Atom URL Utils

A small set of utilities for manipulating URLs in Atom.

Commands

Each command works on multiple selections, or each URL found in a block of selected text.

Tidy

Currently removes any unnecessary www. or trailing / from selected URLs, and prepends the http:// protocol if absent. For example, www.atom.io becomes http://atom.io.

This can be configured in the package settings to always enforce https.

The ability to automatically tidy up all URLs when specified files are saved can also be configured.

Encode/decode

URI encode/decode selected text.

Open

Open selected links in your default browser, or atom-webbrowser tabs if installed and configured in package settings.

Linkify

Wrap selected URLs in either Markdown or HTML link tags, depending on the current file grammar.


Install

apm install url-utils or search “url” under Packages within Atom.

License

MIT © Daniel Bayley