This package has been deprecated

Author message:

This package is no longer in development

bitcly

1.1.1 • Public • Published

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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Published

Version History

  • Version
    Downloads (Last 7 Days)
    • Published

Package Sidebar

Install

npm i bitcly

Weekly Downloads

2

Version

1.1.1

License

MIT

Last publish

Collaborators

  • npm