browser-canonical-url

    1.0.0 • Public • Published

    browser-canonical-url

    NPM version Travis-CI Status Appveyor Status Daviddm Status

    Get canonical url for browser.

    Install

    $ npm install --save browser-canonical-url
    

    Usage

    var browserCanonicalUrl = require('browser-canonical-url');
    // or
    <script src="build/browser-canonical-url.js"></script>
     
    browserCanonicalUrl();
    //=> http://example.com/canonical

    API

    browserCanonicalUrl() -> ?String

    Canonical url or null.

    Changelog

    changelog.md.

    License

    MIT © sanemat

    Install

    npm i browser-canonical-url

    DownloadsWeekly Downloads

    0

    Version

    1.0.0

    License

    MIT

    Last publish

    Collaborators

    • sanemat