Looking to shorten a URL like iamtheproudownerofthelongestlongestlongestdomainnameinthisworld.com? Or see what's behind a mysterious http://bit.ly/2zMSEXP? Look no further! Twzer is a URL shortening and expanding tool accessible right from the command-line.
If you don't have yarn installed, enter:
npm install -g yarn
If you're ahead of the curve, enter the following to make twzer global:
yarn global add twzer
Or if you prefer npm:
npm install --global twzer
Twzer gives you two commands: shorten a link or expand a shortened link. Along with each command are two options: use Bitly or Google as the client.
Shorten a link using Bitly with
twzer sh -b https://example.com
Expand a link using Google with
twzer ex -g https://goo.gl/F0pE
If you need help, just run with
yarn test or
Check CHANGELOG for all updates.
What the twzer?
Twzer is pronounced as 'twiz-er'. Like Twizzler, but without the 'L'.
Why the funky name?
This project was originally called tweezer, but an npm package already existed with that name. I tried 😅.
Suggestions, bug reports and pull requests are encouraged for those who would like to take part in improving this tool.
MIT license - see LICENSE for details.