1.1.1 • Published 8 years ago

bitcly v1.1.1

Weekly downloads
4
License
MIT
Repository
github
Last release
8 years ago

bitcly

Simple bitly CLI client

Build Status js-semistandard-style

Install

$ npm install --global bitcly

Usage

$ bitcly --help

  Simple bitly CLI client

  Usage
    $ bitcly <url>

  Example
    $ bitcly http://github.com/sotojuan/bitcly
    http://bit.ly/1m8bf9q

As a module

bitcly can also be used as a module, though it works better as a CLI.

npm install --save bitcly
var bitcly = require('bitcly');

bitcly('http://github.com/sotojuan/bitcly')
  .then(url => { console.log(url); }) // http://bit.ly/1m8bf9q
  .catch(error => { console.log(error); });

API

bitcly(longURL)

longURL

Type: string

The URL you want to shorten.

License

MIT © Juan Soto

1.1.1

8 years ago

1.1.0

8 years ago

1.0.0

8 years ago