Skip to content
A tiny script to quick share page settings and configs via URL GET parms
JavaScript HTML
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
dist
test
.gitignore
.jshintrc
.travis.yml
Gruntfile.js
LICENSE
bower.json
index.html
lnk.js
package.json
readme.MD

readme.MD

link.js

Build Status NPM Version Bower Coverage Status License

about

link.js aims to quick share settings over pages via URL GET parms.

    var lnk = new window.LNK({settingsGetParmName: "aaa"});
    var setup = lnk.fetchSettings();
    var newSetup = {
        "hello" : "world"
    };

    console.log(setup || "no setup given.");
    document.getElementById("test").href = lnk.href(newSetup);

install

npm install link.js
bower install link.js

Something went wrong with that request. Please try again.