UNPKG

node-url-shortener

Version:

node-url-shortener helps you to shorten your big URLs.

30 lines (17 loc) 583 B
# 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](https://cdpt.in) # Installation Install via NPM ```js npm install node-url-shortener --save ``` # Example ```js var shortUrl = require("node-url-shortener"); shortUrl.short("https://codeportal.in", function (err, url) { console.log(url); }); ```