Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: about 5 hours 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 9 years ago)
- Default Branch: master
- Last Pushed: 2015-03-19T15:50:40.000Z (over 9 years ago)
- Last Synced: 2024-11-10T12:09:32.115Z (7 days 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
[![Build Status](http://img.shields.io/travis/s-a/link.js.svg?style=flat-square)](https://travis-ci.org/s-a/link.js)
[![NPM Version](http://img.shields.io/npm/v/link.js.svg?style=flat-square)](https://www.npmjs.org/package/link.js)
[![Bower](http://img.shields.io/bower/v/link.js.svg?style=flat-square)](http://bower.io/search/?q=link.js)
[![Coverage Status](http://img.shields.io/coveralls/s-a/link.js.svg?style=flat-square)](https://coveralls.io/r/s-a/link.js?branch=master)
[![License](http://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square)](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```