Launch Week Day 5: Introducing Reachability for PHP.Learn More
Socket
Book a DemoSign in
Socket

shorty-client

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

shorty-client

latest
npmnpm
Version
0.0.1
Version published
Weekly downloads
3
Maintainers
1
Weekly downloads
 
Created
Source

shorty-client

A simple wrapper around superagent to shorten URLs.

Usage

var shorten = require('shorty-client')('http://shr.url');
// callback with arity = 2
shorten('http://google.com', function(err, url){
  // if an error occurs, url = 'http://google.com'
});

FAQs

Package last updated on 22 Jul 2012

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