https://github.com/s-a/link.js
A tiny script to quick share page settings and configs via URL GET parms
https://github.com/s-a/link.js
Last synced: 4 months ago
JSON representation
A tiny script to quick share page settings and configs via URL GET parms
- Host: GitHub
- URL: https://github.com/s-a/link.js
- Owner: s-a
- License: mit
- Created: 2015-03-11T09:33:01.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2015-03-19T15:50:40.000Z (over 10 years ago)
- Last Synced: 2025-02-17T02:09:25.977Z (4 months ago)
- Language: JavaScript
- Homepage: https://s-a.github.io/link.js
- Size: 168 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.MD
- License: LICENSE
Awesome Lists containing this project
README
# link.js
[](https://travis-ci.org/s-a/link.js)
[](https://www.npmjs.org/package/link.js)
[](http://bower.io/search/?q=link.js)
[](https://coveralls.io/r/s-a/link.js?branch=master)
[](http://s-a.mit-license.org/)# about
link.js aims to quick share settings over pages via URL GET parms.
``` javascript
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```