Nose Picking Mechanisms

    long-url

    1.0.2 • Public • Published

    long-url

    What

    Reverse url shortener. Get the location of those shortened urls.

    Installation

    npm install -g long-url
    

    or

    npm install --save long-url
    

    Usage

    CLI

    $ reverse-url http://ow.ly/W7oOu
    
    // Output: >> http://ow.ly/W7oOu is http://bjarneo.codes/
    

    JavaScript

    var reverse = require('long-url');
    
    reverse('http://ow.ly/W7oOu', function(err, url) {
        if (err) {
            throw new Error(err);
        }
    
        console.log(url);
    });
    
    // Output: http://bjarneo.codes/
    

    Tests

    npm test
    

    Contribution

    Contributions are appreciated.

    License

    MIT-licensed. See LICENSE.

    Install

    npm i long-url

    DownloadsWeekly Downloads

    14

    Version

    1.0.2

    License

    MIT

    Last publish

    Collaborators

    • bjarneo