Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

bitcly

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bitcly

Simple bitly CLI client

  • 1.1.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
decreased by-66.67%
Maintainers
1
Weekly downloads
 
Created
Source

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

Keywords

FAQs

Package last updated on 05 Jan 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc