node-url-shortener

2.0.3 • Public • Published

Note

Added encodeURIComponent in version >=2.0.2.

About

node-url-shortener help you to shorten your big URLs. Currently we support is.gd and cdpt.in because these platforms do not need any kind of API key. You can shorten number of URLs without any limit without using any API keys.

For more, you can visit cdpt.in

Installation

Install via NPM

npm install node-url-shortener --save

Example

var shortUrl = require("node-url-shortener");

shortUrl.short("https://codeportal.in", function (err, url) {
    console.log(url);
});

Dependencies (1)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i node-url-shortener

    Weekly Downloads

    2,808

    Version

    2.0.3

    License

    MIT

    Unpacked Size

    2.19 kB

    Total Files

    5

    Last publish

    Collaborators

    • harshdoshi999