{"_id":"ld-navigation","_rev":"11-5ca7f44727a2969babc2b0130d33e2a9","name":"ld-navigation","dist-tags":{"latest":"1.1.1","prerelease":"1.0.0-2"},"versions":{"0.5.0-a1":{"name":"ld-navigation","version":"0.5.0-a1","main":"index.js","license":"MIT","scripts":{"test":"standard && karma start karma.es5.bs.config.js","test:es5":"standard && karma start karma.es5.config.js","test:local":"karma start karma.config.js","build":"polymer build"},"devDependencies":{"@babel/preset-env":"^7.2.0","@open-wc/testing":"^0.7.2","@open-wc/testing-karma":"^0.3.0","@open-wc/testing-karma-bs":"^0.1.5","@polymer/app-layout":"^3.0.2","@polymer/iron-pages":"^3.0.1","@polymer/paper-button":"^3.0.1","@polymer/paper-card":"^3.0.1","@polymer/paper-item":"^3.0.1","@polymer/paper-listbox":"^3.0.1","@polymer/paper-toast":"^3.0.1","@polymer/polymer":"^3.1.0","github-fork-ribbon-css":"^0.2.1","polymer-cli":"^1.9.3","standard":"^12.0.1","zero-md":"https://github.com/zerodevx/zero-md"},"dependencies":{"lit-html":"0.14"},"description":"A set of Web Components for data-driven Linked Data REST client in the browser.","_id":"ld-navigation@0.5.0-a1","dist":{"shasum":"88cce3f874587c94a5fbff87c14d15149c5f65b4","integrity":"sha512-pBy14FYRsSKq7tOIHagTJEO7/Kajm9RFQNCImLEHjoXzZHvjPT+PPPNtO8waZt4OMMS//H2DvBE5FgAZhpNY0w==","tarball":"https://registry.npmjs.org/ld-navigation/-/ld-navigation-0.5.0-a1.tgz","fileCount":36,"unpackedSize":43817,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcG6OTCRA9TVsSAnZWagAA6KsP/jkc+vlhbl3zjGSqQQIU\nnBB0Vygk+NUJ8RHirsEYa1Rou3DaYlYqIwMvPIU8XLDSYQ+LbpRJuUzG1xhe\nXdJUml8TWrBe6mBGmxsi3Y3irIUM8wgxiJxVQFAnnTUiMxXhvaueUvl52vdz\nOeXyhUfp66mOtsSb/PRle4ijxZkvlO+qZw4frucRCmHWCoVTa0v96U2EAwbW\nLJIlXHzAkPZ/ztXlh4vSVvSI+DzRGyLP0RD/gt5+v9/nN5V28+vS/KqwRsKb\njLjTlMlZvdis+UawCHn3No78oyiC6oQy4HPR4Pfd+q9SQc7S8t0kvmv6EUy3\nq/PK3zn9v2a5OaPLMWoOMUKli+JOfZgUbnolnZTZIcsXceOAwqBkIvyaUpw1\nmrC/rEoaWpJWKwRoPzkUYk+E+umoUmrAcDLWtBlV02CQ6CQsHo9Rk6KLpRIg\nffrWVK5XZMOur4wvgMkrzY/sWMj3+rVJFK8gYClHsxAjtJSoPY+vnCzn9Pjs\ngd6b+Z1u6HkuSNzYFQ3xPOVh4C17GMiArI5oOZP1xAQnBNDx/W4nk3L3CJxI\nsYnEAd/jVy6dxk4jY2LaDhbeTTxGAIEAR3zFediE1WWf67rSzLOUleJm6u2m\nZA6l9ocyn07npa8N2rE61IXq+IpU++3tnniUt0PyjKxXkB+zsNxz0eHSXsoA\n6Ksk\r\n=d/Df\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCCZQEbQ8sZ6zPzhV8NElb4+POWEahr0+v522GYSJFwyAIhAPxlNJdBVLmU9VJv6g5KfbCnfT2H1slKMXstuR8ld+7v"}]},"maintainers":[{"name":"tpluscode","email":"npm@t-code.pl"}],"_npmUser":{"name":"tpluscode","email":"npm@t-code.pl"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ld-navigation_0.5.0-a1_1545315218443_0.8166371998800723"},"_hasShrinkwrap":false},"0.5.0":{"name":"ld-navigation","version":"0.5.0","main":"index.js","license":"MIT","scripts":{"test":"standard && karma start karma.es5.bs.config.js","test:es5":"standard && karma start karma.es5.config.js","test:local":"karma start karma.config.js","build":"polymer build"},"devDependencies":{"@babel/preset-env":"^7.2.0","@open-wc/testing":"^0.7.2","@open-wc/testing-karma":"^0.3.0","@open-wc/testing-karma-bs":"^0.1.5","@polymer/app-layout":"^3.0.2","@polymer/iron-pages":"^3.0.1","@polymer/paper-button":"^3.0.1","@polymer/paper-card":"^3.0.1","@polymer/paper-item":"^3.0.1","@polymer/paper-listbox":"^3.0.1","@polymer/paper-toast":"^3.0.1","@polymer/polymer":"^3.1.0","github-fork-ribbon-css":"^0.2.1","lit-html":"^0.14","polymer-cli":"^1.9.3","standard":"^12.0.1","zero-md":"https://github.com/zerodevx/zero-md"},"description":"A set of Web Components for data-driven Linked Data REST client in the browser.","_id":"ld-navigation@0.5.0","dist":{"shasum":"6c7a5c84d40890754e91ec6f3236c7905b495ad6","integrity":"sha512-ZKLnbkx793Ot80izYbr8Fs0mkfVy4d9fJlWRf+fkHZdmFR5eFYE3NG5cSHhPAo3VzueZH1wBZWquz6IDyTuuwA==","tarball":"https://registry.npmjs.org/ld-navigation/-/ld-navigation-0.5.0.tgz","fileCount":36,"unpackedSize":43961,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcLwHnCRA9TVsSAnZWagAAuh4QAIVXutqhX64iZdAjR2Bn\nEEZH0GW0vFCk/RdYLdk1TmeT1ZXS/DvuLKtv7kaUVDp38N75dFausXgPpeBw\nwHs4oefD7ckXWN/Nk1HF7JMaGSW4B9f++xd49Dyd6R6jr9Xfb+5nIttX+KR2\ncwY14NcCyNUKfx5MFmacqxpV7jyG0pk3RoxyxY7oF6CJdrBM1ab8b00eN+eV\nRQ4j/umkVSnapocWDiYhJTGnhWADZOxsAposAp6vJZo5HVe7upLz57c2hH7b\nS0S7QPfFmV4cpsIGwYjqNF0lYyBYocKlnVXFt2PF7xBx51wEBZalbBsispv3\n3amq0R+TUYVadETN1xRAXHRdDqD44hyd9V6bxRNEbB3Ycuz9pyYc/elfqNqj\nvYGLJqM07fMJ3nZcUXK5VzA7GNWyxTJ4bIvQhWwY8CoMFMhFAL0ldFtT4FAy\nryMRDc1+JXXTf89vLTiEBVaY/OL+Ujc1ZH8YDi/dFgP35o4ekIi7M5QCUxmn\nczz40OVj1k6acCZRGDq5OznPRevPFOdUYqWGRDbQoJPoMEr1eNfGHvPKQA26\n9o5e8xpHdunssRx2mqvY6HiDLrvbzLvZO68klsA9S168H1uiBPMGKaQvW8j+\nuxb1Qek3nsWwH8TZ0+wL/NFQKEPX7GFFT7FiIK7boUYkRs4XPxGudLBbWYv0\nwF1J\r\n=0BoM\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHfKOPhoIbhPAcbJqHxbmynpjBOt9wo4jw8S2Dkv39RNAiEA/rPS19BZgVAw+4x/3G5US4JZuH3eOM2nJFV7Oi2jFv8="}]},"maintainers":[{"name":"tpluscode","email":"npm@t-code.pl"}],"_npmUser":{"name":"tpluscode","email":"npm@t-code.pl"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ld-navigation_0.5.0_1546584550987_0.8278262548194613"},"_hasShrinkwrap":false},"0.5.1":{"name":"ld-navigation","version":"0.5.1","main":"index.js","license":"MIT","scripts":{"test":"standard && karma start karma.es5.bs.config.js","test:es5":"standard && karma start karma.es5.config.js","test:local":"karma start karma.config.js","build":"polymer build"},"devDependencies":{"@babel/preset-env":"^7.2.0","@open-wc/testing":"^0.7.2","@open-wc/testing-karma":"^0.3.0","@open-wc/testing-karma-bs":"^0.1.5","@polymer/app-layout":"^3.0.2","@polymer/iron-pages":"^3.0.1","@polymer/paper-button":"^3.0.1","@polymer/paper-card":"^3.0.1","@polymer/paper-checkbox":"^3.1.0","@polymer/paper-item":"^3.0.1","@polymer/paper-listbox":"^3.0.1","@polymer/paper-toast":"^3.0.1","@polymer/polymer":"^3.1.0","github-fork-ribbon-css":"^0.2.1","lit-html":"^0.14","polymer-cli":"^1.9.3","standard":"^12.0.1","zero-md":"https://github.com/zerodevx/zero-md"},"description":"A set of Web Components for data-driven Linked Data REST client in the browser.","_id":"ld-navigation@0.5.1","dist":{"shasum":"c952eacd7677b6da9d3e2d540b2fa4bd8ea36775","integrity":"sha512-NES5RU9ZGI31fLUkFOtKrn6MP4wca7r3pEDcXz5aFWdVKKumNrr1mRE/j1F8cEtEZegZw/vZT/Ef7p6C3uQxLw==","tarball":"https://registry.npmjs.org/ld-navigation/-/ld-navigation-0.5.1.tgz","fileCount":36,"unpackedSize":44876,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcRvA4CRA9TVsSAnZWagAAMbgP/2gFEasw1wVCI0nZeT1R\nSkRyeQuBcs7IhUgItXC20Ia1+Rub7vphzth5Vt3BMX4gtMOBVKImq46pj/c9\nwgYsslnzhCUHyd6y51tsyo7w+IQ9JNP+Z3BY8cmszpJw0JP5argEelrVsELs\nwP3M1JSLNmIuuaPRJ0lBgYDDQ6HXHvKSbHJ8lLyy4OixLu00zp1z9e8RBqYX\ngZYWB+Cq4nBWuIAPUu8an+EjbNvMOJv0IFRjP2A26cj8cvPJBDLDbT/v5Vv2\nAc1BHvEALXBs8pJfyXZMVM+7du2z6kLdIV0lHut+ITeI3FcO0J0WgoP3r63Y\n06itFAEc+ydSpQPLbZ0LVogfR7jgUV/hYSB6i/6+A7Cg3isrkCo8eOHbvBwc\n59ZYC7+wOzGsg66lu9588UAWERmIznX/gR/ijQQ6xU/gm6/iI+ENPSzlxOW5\nw9bOeyEk7DrHFQoRGrHqhlLEDcJOWm20HDKJ1jI972ywDWItVKR3+GCLR0KH\n5jB8d3deBHwV/E+/iWep1fNlxwpcVfUqPhmM1AiP4Xv2eZIlA0k4pwu3h/FX\n8dQ1hfufh1IObah6fYhsEldQfYGVzhVttJjEzJJArt0Pesu2eUD2jxcYxoPs\nyPM52VXJPaOhFxO3XHLtqaTZ7DBi/y2U++eg9dEN7PEEVjt6MrL7TPLzZ8i8\nonRQ\r\n=B59H\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCB+Y9EDZhydGJDmWMl4TJX8XJhSxB3LVCVbmOmiJ6mMwIgK3nUfOc16+M+y3NcMRIT21WjxAF2O4J6HfxVFZFz6C8="}]},"maintainers":[{"name":"tpluscode","email":"npm@t-code.pl"}],"_npmUser":{"name":"tpluscode","email":"npm@t-code.pl"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ld-navigation_0.5.1_1548152888361_0.4558403319485338"},"_hasShrinkwrap":false},"0.5.2":{"name":"ld-navigation","version":"0.5.2","main":"index.js","license":"MIT","repository":{"type":"git","url":"git://github.com/tpluscode/ld-navigation.git"},"scripts":{"test":"standard && karma start karma.es5.bs.config.js","test:es5":"standard && karma start karma.es5.config.js","test:local":"karma start karma.config.js","build":"polymer build"},"devDependencies":{"@babel/preset-env":"^7.2.0","@open-wc/testing":"^0.7.2","@open-wc/testing-karma":"^0.3.0","@open-wc/testing-karma-bs":"^0.1.5","@polymer/app-layout":"^3.0.2","@polymer/iron-pages":"^3.0.1","@polymer/paper-button":"^3.0.1","@polymer/paper-card":"^3.0.1","@polymer/paper-checkbox":"^3.1.0","@polymer/paper-item":"^3.0.1","@polymer/paper-listbox":"^3.0.1","@polymer/paper-toast":"^3.0.1","@polymer/polymer":"^3.1.0","github-fork-ribbon-css":"^0.2.1","lit-html":"^0.14","polymer-cli":"^1.9.3","standard":"^12.0.1","zero-md":"git+https://github.com/zerodevx/zero-md.git"},"gitHead":"7d9db1fe2e463c026bed2dbb9a8f15bf8e3b6728","description":"A set of Web Components for data-driven Linked Data REST client in the browser.","bugs":{"url":"https://github.com/tpluscode/ld-navigation/issues"},"homepage":"https://github.com/tpluscode/ld-navigation#readme","_id":"ld-navigation@0.5.2","_npmVersion":"6.4.1","_nodeVersion":"10.13.0","_npmUser":{"name":"tpluscode","email":"npm@t-code.pl"},"dist":{"integrity":"sha512-AZ+agVtT0hs/UARCer5Ocl6l49mnG3R/KRgxtERUiZGvKlTxfol/BVZm4AvWUZkCGzk7mGs657eWOmO03RhHHw==","shasum":"f6747016e64f6e5d30011e0d072f0844b64dcf27","tarball":"https://registry.npmjs.org/ld-navigation/-/ld-navigation-0.5.2.tgz","fileCount":34,"unpackedSize":498800,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcRzvxCRA9TVsSAnZWagAAgdcP/2O4lhBsoe/8ojvEcYEq\n1iTp5AdU7Rjdrz1JfsGluiQ2d+YoBHz8CRFoOv0wgrFW4awl/EvdBk7UlQxo\n6mVmcMEvMOKMw93dvQwQz7RM1HUlYCob25vFaMzKqQeTt+Js4AOJWryFmQxi\nf9ZwN4/CPW/kEIg/y4ic41hV9jO4LmMWEa2Xojw/jx8wjbYdzatXP2upEHlB\n9SgeRDKPY4yTKI5daQClFznkmzDgXWc59bNIA38isWDlnuSkuCZAbGAMi6Wz\nWN87IgKYYnPBMUtpyxSuJDJw+BVNQO3tFAvOtdTrjK7FkjM29f8P0X18dsmS\npsttvhTLoKrHNdGpETOzF26nFeZhQUIW1gjDvF5ZET1l2bXlTZXNdyqX/voX\nxuqJBn59CjCYYIF84tPehYWwuF5dvbaS4PvXo7rztoBZ8qI68VQL4Ib9HiD9\nrLq+ktVJox1uQ9tBZTs/nHvfob0W8jGCPSub32mtiU6p67/Kx6h6zqobfBwJ\nKVmGMI5Z0Z+ZbEH4B4T/Mf/NT0h6c/XUsqyEO+Wiz4WIAAkInNV4MvOeB43m\nXfXnI8yiXRS+U3pSTmytuUm0pPKkWft+NULbVB4+qkEPapCeSANq2SmwJ6fs\nf9l7PUpYW1I5bXcld7YhM0iqc0s2iQhkeUS547C3bltq8bjVzZJz1iGyb4tw\no3zP\r\n=Z7Ty\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCL2fFYesKdBhVzQsC6UTQWuNHaZ7izjW4SqNRfSXlBtgIgOK2+MTHoco66lzPB0bJcbCJmnMN0dTNMqfXzv37bMjA="}]},"maintainers":[{"name":"tpluscode","email":"npm@t-code.pl"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ld-navigation_0.5.2_1548172272488_0.674418980981037"},"_hasShrinkwrap":false},"1.0.0-0":{"name":"ld-navigation","version":"1.0.0-0","main":"index.js","license":"MIT","repository":{"type":"git","url":"git://github.com/tpluscode/ld-navigation.git"},"scripts":{"prepare":"tsc","test":"karma start --coverage","lint:eslint":"eslint --ext .js,.html,.ts . --quiet --ignore-path .gitignore","format:eslint":"eslint --ext .js,.html,.ts . --quiet --fix --ignore-path .gitignore","lint:prettier":"prettier \"**/*.{js,ts}\" --check --ignore-path .gitignore","format:prettier":"prettier \"**/*.{js,ts}\" --write --ignore-path .gitignore","lint":"npm run lint:eslint && npm run lint:prettier","format":"npm run format:eslint && npm run format:prettier","test:watch":"karma start --auto-watch=true --single-run=false","test:update-snapshots":"karma start --update-snapshots","test:prune-snapshots":"karma start --prune-snapshots","test:legacy":"karma start --compatibility all --coverage","test:legacy:watch":"karma start --compatibility all --auto-watch=true --single-run=false","test:bs":"karma start karma.bs.config.js --compatibility all --coverage","start":"webpack-dev-server --mode development","build":"webpack --mode production","release":"standard-version"},"devDependencies":{"@babel/plugin-proposal-class-properties":"^7.5.5","@babel/plugin-proposal-decorators":"^7.4.4","@babel/preset-typescript":"^7.3.3","@commitlint/cli":"^8.1.0","@commitlint/config-conventional":"^8.1.0","@open-wc/building-webpack":"^2.5.8","@open-wc/eslint-config":"^1.1.1","@open-wc/prettier-config":"^0.1.10","@open-wc/testing":"^2.3.3","@open-wc/testing-karma":"^3.1.31","@open-wc/testing-karma-bs":"^1.1.56","@polymer/app-layout":"^3.0.2","@polymer/iron-pages":"^3.0.1","@polymer/paper-button":"^3.0.1","@polymer/paper-card":"^3.0.1","@polymer/paper-checkbox":"^3.1.0","@polymer/paper-item":"^3.0.1","@polymer/paper-listbox":"^3.0.1","@polymer/paper-toast":"^3.0.1","@polymer/polymer":"^3.1.0","@typescript-eslint/eslint-plugin":"^2.0.0","@typescript-eslint/parser":"^2.0.0","copy-webpack-plugin":"^5.0.4","cz-conventional-changelog":"^3.0.2","eslint-plugin-lit":"^1.2.0","husky":"^3.0.3","lint-staged":"^9.2.1","lit-html":"^1.1.2","sinon":"^7.4.1","standard":"^14.0.2","standard-version":"^7.0.0","typescript":"^3.5.3","webpack":"^4.28.0","webpack-cli":"^3.3.7","webpack-dev-server":"^3.8.0","webpack-merge":"^4.1.5","zero-md":"git+https://github.com/zerodevx/zero-md.git"},"husky":{"hooks":{"pre-commit":"lint-staged && tsc --noEmit"}},"lint-staged":{"*.{js,ts}":["eslint --fix","prettier --write","git add"]},"config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"}},"commitlint":{"extends":["@commitlint/config-conventional"]},"readme":"# ld-navigation [![Build Status](https://travis-ci.org/tpluscode/ld-navigation.svg?branch=master)](https://travis-ci.org/tpluscode/ld-navigation) [![codecov](https://codecov.io/gh/tpluscode/ld-navigation/branch/master/graph/badge.svg)](https://codecov.io/gh/tpluscode/ld-navigation)\n\nA set of Web Components for data-driven Linked Data REST client in the browser.\n\nWith ld-navigation you let actual Linked Data be the router of your application.\n\nYou then simply GET and decide what to display based on the data returned.\n**No more client-side routing**.\n\n### &lt;ld-navigator&gt;\n> Control current resource in relation to document path\n> Maintain browser history with HTML history API\n> Set up base resource URL and base client path to tweak routing\n\n### &lt;ld-link&gt;\n> Initiate transition between application states\n\n## Demos\n\n[Demos and sort-of documentation](https://routing.hypermedia.app/demo/).\n\n[`ld-navigation` also plays nice with location.hash history](https://routing.hypermedia.app/demo/#hash).\n\n## Installation\n\nRun `yarn add ld-navigation`\n\nIn your code\n\n```js\n// main element, required\nimport 'ld-navigation/ld-navigator'\n// optionally, to wrap links\nimport 'ld-navigation/ld-link'\n// optionally, to initiate navigation manually\nimport fireNavigation from 'ld-navigation/fireNavigation'\n```\n\n**No external dependencies**\n\n## Usage\n\nLet's assume that:\n* Your website is at `http://www.my.app/`.\n* Your Linked Data API is at `http://api.my.app/`.\n\n``` html\n<!-- navigator exposes a resourceUrl property, see below -->\n<ld-navigator></ld-navigator>\n\n<!-- ld-link replaces or wraps anchor -->\n<ld-link resource-url=\"http://api.my.app/people\">get people</ld-link>\n<ld-link resource-url=\"http://api.my.app/projects\">\n    <a>get projects</a>\n</ld-link>\n\n<script>\nvar navigator = document.querySelector('ld-navigator')\nnavigator.addEventListener('resource-url-changed', function(e) {\n    // same url sits in e.detail.resourceUrl\n    var nextUrl = navigator.resourceUrl;\n\n    // no go ahead and $.get or window.fetch your data from nextUrl\n    window.fetch(nextUrl).then(bindDataWithPage);\n  });\n</script>\n```\nWith the above code, when you click the first link, the browser moves to `http://www.my.app/http://api.my.app/people` and the\n`resource-url-changed` event is fired.\n\n### Base URL\n\nObviously an URL like `http://www.my.app/http://api.my.app/people` is ugly (and, well, invalid). It is possible to get rid of the API domain\nby adding an attribute to the `<ld-navigator>` tag:\n\n``` html\n<ld-navigator base-url=\"http://api.my.app\"></ld-navigator>\n```\n\nThis way the API domain is stripped out from the browser address bar and `http://www.my.app/people` remains. This is where client-side\nrouting becomes virtually obsolete.\n\n### Polymer\n\n`ld-navigation` will also play nice with [Polymer](/Polymer/polymer/) - see the [demos](#demo) above.\n\n## Tests\n\nTests are written with [@open-wc/testing](http://open-wc.org).\n\n``` bash\nyarn install\nyarn test:local\n```\n","readmeFilename":"README.md","gitHead":"559873105ba446cce3f374289807244feaca7cb7","description":"A set of Web Components for data-driven Linked Data REST client in the browser.","bugs":{"url":"https://github.com/tpluscode/ld-navigation/issues"},"homepage":"https://github.com/tpluscode/ld-navigation#readme","_id":"ld-navigation@1.0.0-0","_nodeVersion":"12.3.1","_npmVersion":"6.9.0","dist":{"integrity":"sha512-+M7M+3SEhxuhDqEMAgHDSMu0sr2MC/noJUe9Qy8oGonPu3CQF7oHDEE5BxkMwIIqeBO0zYNrpjFWy7InlbDGVw==","shasum":"b320f41f6bf8482c94b5b50d57a6e79fcd2af587","tarball":"https://registry.npmjs.org/ld-navigation/-/ld-navigation-1.0.0-0.tgz","fileCount":37,"unpackedSize":43588,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdbTbiCRA9TVsSAnZWagAAByQP/j7caIXwLI+uRHqZWrfp\ndmn3BhVsZes3frdeZaDfl45UdBwvVh2ZvB3dsol6ULk7p8GNbWtWzloEzW/b\n3pGRQB7IoG2GGPgCPUEhOStJ4CWwl1RPQV+hMWSj54ezQNnAz/w+kp/g6oEn\naEy+pYMQSSHVfd8K3iIhpd5H06lxKEBTFZqFzKKknXkUgm4DAS0QoIM1ayef\nbHScOmg3ysHJ9i29jpReWM+qlKSXqfLsyXRvnxUVRTyZfdgRKmKfIrExSlR5\nYnrSaq/wuaXjcV19J4nU20yLELflcUXOKpxafKJoAKkIIyLnjGs1fVkeR7as\nt6Pfq+GPG2OAxQ2+lNqSztFMEuFo32HWayBR8U8XHXSCz5eusQsANJpugwwg\nqvzNR/xkj724Cpi3ViP2FwXKOwRRSfbKLMpKq5OtFsvJUw1jnZvI/X7+IeAD\n/GZfOkkJuwWQET2CjhB+bMz2GiSsRyphztRa0xFGxXOfSDjD55VDWMnRCVFh\n5ZXBRIpDZZn79FNo5I/jdGGmTjahteGci5cHlz8iqh8Iic+u3N5YjeHMy70q\nGVeKcWE0WKBXdXMJTbfDDkjyYccXheYfS9Mzqql44bm8XcyAbQmbhl9S4qI5\n5MCtG8YszREhXjbkL7GgTGLIzW3Uj4uWArWc4Wxn+4TfiDPR/44AB/qBADoy\nLZOl\r\n=4dPm\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDaWHHut1AecTzUHpmVPiOYoWoxhHt7er9TEbbtfw25xgIhAIv/Hiotm7lgVPsEY3UZ1aWZMvvKHURJ7N6Dd8n61cI6"}]},"maintainers":[{"name":"tpluscode","email":"npm@t-code.pl"}],"_npmUser":{"name":"tpluscode","email":"npm@t-code.pl"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ld-navigation_1.0.0-0_1567438561263_0.1887916496229578"},"_hasShrinkwrap":false},"1.0.0-1":{"name":"ld-navigation","version":"1.0.0-1","main":"index.js","license":"MIT","repository":{"type":"git","url":"git://github.com/tpluscode/ld-navigation.git"},"scripts":{"prepare":"tsc","test":"karma start --coverage","lint:eslint":"eslint --ext .js,.html,.ts . --quiet --ignore-path .gitignore","format:eslint":"eslint --ext .js,.html,.ts . --quiet --fix --ignore-path .gitignore","lint:prettier":"prettier \"**/*.{js,ts}\" --check --ignore-path .gitignore","format:prettier":"prettier \"**/*.{js,ts}\" --write --ignore-path .gitignore","lint":"npm run lint:eslint && npm run lint:prettier","format":"npm run format:eslint && npm run format:prettier","test:watch":"karma start --auto-watch=true --single-run=false","test:update-snapshots":"karma start --update-snapshots","test:prune-snapshots":"karma start --prune-snapshots","test:legacy":"karma start --compatibility all --coverage","test:legacy:watch":"karma start --compatibility all --auto-watch=true --single-run=false","test:bs":"karma start karma.bs.config.js --compatibility all --coverage","start":"webpack-dev-server --mode development","build":"webpack --mode production","release":"standard-version"},"devDependencies":{"@babel/plugin-proposal-class-properties":"^7.5.5","@babel/plugin-proposal-decorators":"^7.4.4","@babel/preset-typescript":"^7.3.3","@commitlint/cli":"^8.1.0","@commitlint/config-conventional":"^8.1.0","@open-wc/building-webpack":"^2.5.8","@open-wc/eslint-config":"^1.1.1","@open-wc/prettier-config":"^0.1.10","@open-wc/testing":"^2.3.3","@open-wc/testing-karma":"^3.1.31","@open-wc/testing-karma-bs":"^1.1.56","@polymer/app-layout":"^3.0.2","@polymer/iron-pages":"^3.0.1","@polymer/paper-button":"^3.0.1","@polymer/paper-card":"^3.0.1","@polymer/paper-checkbox":"^3.1.0","@polymer/paper-item":"^3.0.1","@polymer/paper-listbox":"^3.0.1","@polymer/paper-toast":"^3.0.1","@polymer/polymer":"^3.1.0","@typescript-eslint/eslint-plugin":"^2.0.0","@typescript-eslint/parser":"^2.0.0","copy-webpack-plugin":"^5.0.4","cz-conventional-changelog":"^3.0.2","eslint-plugin-lit":"^1.2.0","husky":"^3.0.3","lint-staged":"^9.2.1","lit-html":"^1.1.2","sinon":"^7.4.1","standard":"^14.0.2","standard-version":"^7.0.0","typescript":"^3.5.3","webpack":"^4.28.0","webpack-cli":"^3.3.7","webpack-dev-server":"^3.8.0","webpack-merge":"^4.1.5","zero-md":"git+https://github.com/zerodevx/zero-md.git"},"husky":{"hooks":{"pre-commit":"lint-staged && tsc --noEmit"}},"lint-staged":{"*.{js,ts}":["eslint --fix","prettier --write","git add"]},"config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"}},"commitlint":{"extends":["@commitlint/config-conventional"]},"readme":"# ld-navigation [![Build Status](https://travis-ci.org/tpluscode/ld-navigation.svg?branch=master)](https://travis-ci.org/tpluscode/ld-navigation) [![codecov](https://codecov.io/gh/tpluscode/ld-navigation/branch/master/graph/badge.svg)](https://codecov.io/gh/tpluscode/ld-navigation)\n\nA set of Web Components for data-driven Linked Data REST client in the browser.\n\nWith ld-navigation you let actual Linked Data be the router of your application.\n\nYou then simply GET and decide what to display based on the data returned.\n**No more client-side routing**.\n\n### &lt;ld-navigator&gt;\n> Control current resource in relation to document path\n> Maintain browser history with HTML history API\n> Set up base resource URL and base client path to tweak routing\n\n### &lt;ld-link&gt;\n> Initiate transition between application states\n\n## Demos\n\n[Demos and sort-of documentation](https://routing.hypermedia.app/demo/).\n\n[`ld-navigation` also plays nice with location.hash history](https://routing.hypermedia.app/demo/#hash).\n\n## Installation\n\nRun `yarn add ld-navigation`\n\nIn your code\n\n```js\n// main element, required\nimport 'ld-navigation/ld-navigator'\n// optionally, to wrap links\nimport 'ld-navigation/ld-link'\n// optionally, to initiate navigation manually\nimport fireNavigation from 'ld-navigation/fireNavigation'\n```\n\n**No external dependencies**\n\n## Usage\n\nLet's assume that:\n* Your website is at `http://www.my.app/`.\n* Your Linked Data API is at `http://api.my.app/`.\n\n``` html\n<!-- navigator exposes a resourceUrl property, see below -->\n<ld-navigator></ld-navigator>\n\n<!-- ld-link replaces or wraps anchor -->\n<ld-link resource-url=\"http://api.my.app/people\">get people</ld-link>\n<ld-link resource-url=\"http://api.my.app/projects\">\n    <a>get projects</a>\n</ld-link>\n\n<script>\nvar navigator = document.querySelector('ld-navigator')\nnavigator.addEventListener('resource-url-changed', function(e) {\n    // same url sits in e.detail.resourceUrl\n    var nextUrl = navigator.resourceUrl;\n\n    // no go ahead and $.get or window.fetch your data from nextUrl\n    window.fetch(nextUrl).then(bindDataWithPage);\n  });\n</script>\n```\nWith the above code, when you click the first link, the browser moves to `http://www.my.app/http://api.my.app/people` and the\n`resource-url-changed` event is fired.\n\n### Base URL\n\nObviously an URL like `http://www.my.app/http://api.my.app/people` is ugly (and, well, invalid). It is possible to get rid of the API domain\nby adding an attribute to the `<ld-navigator>` tag:\n\n``` html\n<ld-navigator base-url=\"http://api.my.app\"></ld-navigator>\n```\n\nThis way the API domain is stripped out from the browser address bar and `http://www.my.app/people` remains. This is where client-side\nrouting becomes virtually obsolete.\n\n### Polymer\n\n`ld-navigation` will also play nice with [Polymer](/Polymer/polymer/) - see the [demos](#demo) above.\n\n## Tests\n\nTests are written with [@open-wc/testing](http://open-wc.org).\n\n``` bash\nyarn install\nyarn test:local\n```\n","readmeFilename":"README.md","gitHead":"e6e66daaa986afeed6d01199bc0f862792d1f2a1","description":"A set of Web Components for data-driven Linked Data REST client in the browser.","bugs":{"url":"https://github.com/tpluscode/ld-navigation/issues"},"homepage":"https://github.com/tpluscode/ld-navigation#readme","_id":"ld-navigation@1.0.0-1","_nodeVersion":"12.3.1","_npmVersion":"6.9.0","dist":{"integrity":"sha512-GDF5ouO/NT/My/n2FsyryXT0aShF6s+5KfmsIddxcZR3rEFVcq/hxa+8Utfkysxc2cToqrdALFHFnrIuVc6p4g==","shasum":"90ee367734c7e9d3b8decb5c20161ed2fce236f1","tarball":"https://registry.npmjs.org/ld-navigation/-/ld-navigation-1.0.0-1.tgz","fileCount":17,"unpackedSize":19383,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdbT7LCRA9TVsSAnZWagAAYYoP/0Swh0yKICrY/xNEoNP+\nuOoPkDiJRZ1KTiK6UGBxQ1jGeWCkGbHUI+DeUC2R0qmb0tZZOSg6DCi+5gzU\nJevwQ+KbCKCNkKuFrXYVWvOSRUEgBBhttXNWwhaS5dGf5GpFDhGT6AGf5Gr6\nJzj47KC/N9s/S2jFjHYybUerBKOnNgQPToCUJtDG5Tc6eZqgD3zJhATuKBY3\n4nnDNQHJgEi633+eie/zdIp3aFUmOgmuwNkn0Bk+WYAEp4fg6AOkKKClDkZO\nidb1/jSiL98GdsLjt+A32gJQbhwh1JJa8BxazQHeLqInJyhpMSLodnfFGarN\nk21RS/xO9c+QMl5YOSHPeN91M6dAJlmBtPYbtTyEiq7z3q5oOC/l6ackHIU9\nHvEtmeJd7v/gkMGXC2hgv+degliWwfi8UJ+yyq28daAEkvDl/B8WCpW0TM5B\nLG/wPxR8F3BHVsX9h/s8egK7PTBF2Dlx6uPmYCJ3CSCBT2vT+X+6DKtuqwyb\nsTwM3uoouigwgalPJ5aabfvu0jPbFZcJCjq9Mksrn23uNpyTSPtlJuQ4Ueb2\nKIN+gIgpkb5MLGceIhe1iaD5JkFDEEpoE+AZ18jTWbbsHjjrPYedeRlWnUs3\nc+UeMM6/NJuA3VfeP2gXXL8/hBa2bWG1ddb2HKvGXDXBlNcJ9SoJF9HPrNdS\nqQmj\r\n=9a0o\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD0s0QwSYuG7CVub6kiZ0Avh1L5/jlHMLy8nst61XVK8wIgR7hi8/H1O+sM9gm74+WTexDYral2olNQ3JeH5EhwvIU="}]},"maintainers":[{"name":"tpluscode","email":"npm@t-code.pl"}],"_npmUser":{"name":"tpluscode","email":"npm@t-code.pl"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ld-navigation_1.0.0-1_1567440587279_0.00503990165060797"},"_hasShrinkwrap":false},"1.0.0-2":{"name":"ld-navigation","version":"1.0.0-2","main":"index.js","license":"MIT","repository":{"type":"git","url":"git://github.com/tpluscode/ld-navigation.git"},"scripts":{"prepare":"tsc","test":"karma start --coverage","lint:eslint":"eslint --ext .js,.html,.ts . --quiet --ignore-path .gitignore","format:eslint":"eslint --ext .js,.html,.ts . --quiet --fix --ignore-path .gitignore","lint:prettier":"prettier \"**/*.{js,ts}\" --check --ignore-path .gitignore","format:prettier":"prettier \"**/*.{js,ts}\" --write --ignore-path .gitignore","lint":"npm run lint:eslint && npm run lint:prettier","format":"npm run format:eslint && npm run format:prettier","test:watch":"karma start --auto-watch=true --single-run=false","test:update-snapshots":"karma start --update-snapshots","test:prune-snapshots":"karma start --prune-snapshots","test:legacy":"karma start --compatibility all --coverage","test:legacy:watch":"karma start --compatibility all --auto-watch=true --single-run=false","test:bs":"karma start karma.bs.config.js --compatibility all --coverage","start":"webpack-dev-server --mode development","build":"webpack --mode production","release":"standard-version"},"dependencies":{"autobind-decorator":"^2.4.0"},"devDependencies":{"@babel/plugin-proposal-class-properties":"^7.5.5","@babel/plugin-proposal-decorators":"^7.4.4","@babel/preset-typescript":"^7.3.3","@commitlint/cli":"^8.1.0","@commitlint/config-conventional":"^8.1.0","@open-wc/building-webpack":"^2.5.8","@open-wc/eslint-config":"^1.1.1","@open-wc/prettier-config":"^0.1.10","@open-wc/testing":"^2.3.3","@open-wc/testing-karma":"^3.1.31","@open-wc/testing-karma-bs":"^1.1.56","@polymer/app-layout":"^3.0.2","@polymer/iron-pages":"^3.0.1","@polymer/paper-button":"^3.0.1","@polymer/paper-card":"^3.0.1","@polymer/paper-item":"^3.0.1","@polymer/paper-listbox":"^3.0.1","@polymer/paper-toast":"^3.0.1","@polymer/polymer":"^3.1.0","@typescript-eslint/eslint-plugin":"^2.0.0","@typescript-eslint/parser":"^2.0.0","copy-webpack-plugin":"^5.0.4","cz-conventional-changelog":"^3.0.2","eslint-plugin-lit":"^1.2.0","husky":"^3.0.3","lint-staged":"^9.2.1","lit-html":"^1.1.2","lit-element":"^2.2.1","sinon":"^7.4.1","standard":"^14.0.2","standard-version":"^7.0.0","typescript":"^3.5.3","webpack":"^4.28.0","webpack-cli":"^3.3.7","webpack-dev-server":"^3.8.0","webpack-merge":"^4.1.5","zero-md":"git+https://github.com/zerodevx/zero-md.git"},"husky":{"hooks":{"pre-commit":"lint-staged && tsc --noEmit"}},"lint-staged":{"*.{js,ts}":["eslint --fix","prettier --write","git add"]},"config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"}},"commitlint":{"extends":["@commitlint/config-conventional"]},"readme":"# ld-navigation [![Build Status](https://travis-ci.org/tpluscode/ld-navigation.svg?branch=master)](https://travis-ci.org/tpluscode/ld-navigation) [![codecov](https://codecov.io/gh/tpluscode/ld-navigation/branch/master/graph/badge.svg)](https://codecov.io/gh/tpluscode/ld-navigation)\n\nA set of Web Components for data-driven Linked Data REST client in the browser.\n\nWith ld-navigation you let actual Linked Data be the router of your application.\n\nYou then simply GET and decide what to display based on the data returned.\n**No more client-side routing**.\n\n### &lt;ld-navigator&gt;\n> Control current resource in relation to document path\n> Maintain browser history with HTML history API\n> Set up base resource URL and base client path to tweak routing\n\n### &lt;ld-link&gt;\n> Initiate transition between application states\n\n## Demos\n\n[Demos and sort-of documentation](https://routing.hypermedia.app/demo/).\n\n[`ld-navigation` also plays nice with location.hash history](https://routing.hypermedia.app/demo/#hash).\n\n## Installation\n\nRun `yarn add ld-navigation`\n\nIn your code\n\n```js\n// main element, required\nimport 'ld-navigation/ld-navigator'\n// optionally, to wrap links\nimport 'ld-navigation/ld-link'\n// optionally, to initiate navigation manually\nimport fireNavigation from 'ld-navigation/fireNavigation'\n```\n\n**No external dependencies**\n\n## Usage\n\nLet's assume that:\n* Your website is at `http://www.my.app/`.\n* Your Linked Data API is at `http://api.my.app/`.\n\n``` html\n<!-- navigator exposes a resourceUrl property, see below -->\n<ld-navigator></ld-navigator>\n\n<!-- ld-link replaces or wraps anchor -->\n<ld-link resource-url=\"http://api.my.app/people\">get people</ld-link>\n<ld-link resource-url=\"http://api.my.app/projects\">\n    <a>get projects</a>\n</ld-link>\n\n<script>\nvar navigator = document.querySelector('ld-navigator')\nnavigator.addEventListener('resource-url-changed', function(e) {\n    // same url sits in e.detail.resourceUrl\n    var nextUrl = navigator.resourceUrl;\n\n    // no go ahead and $.get or window.fetch your data from nextUrl\n    window.fetch(nextUrl).then(bindDataWithPage);\n  });\n</script>\n```\nWith the above code, when you click the first link, the browser moves to `http://www.my.app/http://api.my.app/people` and the\n`resource-url-changed` event is fired.\n\n### Base URL\n\nObviously an URL like `http://www.my.app/http://api.my.app/people` is ugly (and, well, invalid). It is possible to get rid of the API domain\nby adding an attribute to the `<ld-navigator>` tag:\n\n``` html\n<ld-navigator base-url=\"http://api.my.app\"></ld-navigator>\n```\n\nThis way the API domain is stripped out from the browser address bar and `http://www.my.app/people` remains. This is where client-side\nrouting becomes virtually obsolete.\n\n### Polymer\n\n`ld-navigation` will also play nice with [Polymer](/Polymer/polymer/) - see the [demos](#demo) above.\n\n## Tests\n\nTests are written with [@open-wc/testing](http://open-wc.org).\n\n``` bash\nyarn install\nyarn test:local\n```\n","readmeFilename":"README.md","gitHead":"c1143af6f0716129c9c5a0b3f8c46e67e7c671c1","description":"A set of Web Components for data-driven Linked Data REST client in the browser.","bugs":{"url":"https://github.com/tpluscode/ld-navigation/issues"},"homepage":"https://github.com/tpluscode/ld-navigation#readme","_id":"ld-navigation@1.0.0-2","_nodeVersion":"12.3.1","_npmVersion":"6.9.0","dist":{"integrity":"sha512-/9jOu1tZgTPBXm8Vq+rs0kQKktAfDhmiHALdRaBucpmrxFCkAf/qkJ2zekPFB1D6kYDGWrqd5dbqOjCNEXGxzA==","shasum":"d9eae02065d72efedc1e668b111d69fb2a62f550","tarball":"https://registry.npmjs.org/ld-navigation/-/ld-navigation-1.0.0-2.tgz","fileCount":26,"unpackedSize":46809,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdfRxECRA9TVsSAnZWagAA+bQP/j4Iguja3CBcFGHadt6+\nKTSDMGHbbfSsxJxNqn1wcp6zi/QUPjZIAVAXcxL652HhQVATIvtWg+wqP8Iz\nZ0BGprmvFTHXf4kexR7sw4d9UWXscIpRa4FubfO/R0einpo0jr+iAoqAp+iW\nTo4dR6UFrjL4QP7DmKnLAauxv/8R1oBnoKOFSl1zzRzLkWANGuqY3Zb+x9pr\njxyw6HgAv36eSPrcJkcmf0hsYdNVmi/RCobZF6ql6PL8Ylrbg4ZNv1z4bxhz\nlP2ohq3PrNnEPiuPzKGDDeKRPeNNMOWY+nq71ph9ZhQ9mznSB7yX20B1qNNc\nXS9bxWUsZy3D7jfswu7Db30CcvXQbXkXh1TcBdcLn5YmoIMUqmSU4tHzEdu8\nce4zYhWCy6OUUq1mtfKsc0xsjFscZNf76k1+2Ov7IDT3L6oAyGEcKJMClVaN\n31TFslKA9JGZpA7b4nf76sgphiBbgKJSfOMDzPx0ZtKK9aU9YnPI26eBggWH\na1yvoroDeQVC1w3dZoMofhgkSz6+6DBxvZmNgbvyTEV6vSFnX6T9nZQxyoKl\n4TRCDVdkbTFIL/+u+zvuF6NVmhxfGAQLmjBnb+/OLtlWE1pNuGw8TtvWDz0Z\nB9UZ5Q1MXvogP4PxEqyHM+2Fu7CybES5KryQejQFNdggFXQRF7RG/n/Tl4Kc\n5YSk\r\n=OwSI\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHN+3JJ3KhaW8V8gg8zIyp+vMsZj+B/XiVU46gJRRg6LAiEA88qsFA7HIvPKfLf4hEuVi1+Al4eBNrfODc8hFEVxjVU="}]},"maintainers":[{"name":"tpluscode","email":"npm@t-code.pl"}],"_npmUser":{"name":"tpluscode","email":"npm@t-code.pl"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ld-navigation_1.0.0-2_1568480323565_0.6430127310007476"},"_hasShrinkwrap":false},"1.0.0-3":{"name":"ld-navigation","version":"1.0.0-3","main":"index.js","license":"MIT","repository":{"type":"git","url":"git://github.com/tpluscode/ld-navigation.git"},"scripts":{"prepare":"tsc","test":"karma start --coverage","lint:eslint":"eslint --ext .js,.html,.ts . --quiet --ignore-path .gitignore","format:eslint":"eslint --ext .js,.html,.ts . --quiet --fix --ignore-path .gitignore","lint:prettier":"prettier \"**/*.{js,ts}\" --check --ignore-path .gitignore","format:prettier":"prettier \"**/*.{js,ts}\" --write --ignore-path .gitignore","lint":"npm run lint:eslint && npm run lint:prettier","format":"npm run format:eslint && npm run format:prettier","test:watch":"karma start --auto-watch=true --single-run=false","test:update-snapshots":"karma start --update-snapshots","test:prune-snapshots":"karma start --prune-snapshots","test:legacy":"karma start --compatibility all --coverage","test:legacy:watch":"karma start --compatibility all --auto-watch=true --single-run=false","test:bs":"karma start karma.bs.config.js --compatibility all --coverage","start":"webpack-dev-server --mode development","build":"webpack --mode production","release":"standard-version"},"dependencies":{"autobind-decorator":"^2.4.0"},"devDependencies":{"@babel/plugin-proposal-class-properties":"^7.5.5","@babel/plugin-proposal-decorators":"^7.4.4","@babel/preset-typescript":"^7.3.3","@commitlint/cli":"^8.1.0","@commitlint/config-conventional":"^8.1.0","@open-wc/building-webpack":"^2.5.8","@open-wc/eslint-config":"^1.1.1","@open-wc/prettier-config":"^0.1.10","@open-wc/testing":"^2.3.3","@open-wc/testing-karma":"^3.1.31","@open-wc/testing-karma-bs":"^1.1.56","@polymer/app-layout":"^3.0.2","@polymer/iron-pages":"^3.0.1","@polymer/paper-button":"^3.0.1","@polymer/paper-card":"^3.0.1","@polymer/paper-item":"^3.0.1","@polymer/paper-listbox":"^3.0.1","@polymer/paper-toast":"^3.0.1","@polymer/polymer":"^3.1.0","@typescript-eslint/eslint-plugin":"^2.0.0","@typescript-eslint/parser":"^2.0.0","copy-webpack-plugin":"^5.0.4","cz-conventional-changelog":"^3.0.2","eslint-plugin-lit":"^1.2.0","husky":"^3.0.3","lint-staged":"^9.2.1","lit-html":"^1.1.2","lit-element":"^2.2.1","sinon":"^7.4.1","standard":"^14.0.2","standard-version":"^7.0.0","typescript":"^3.5.3","webpack":"^4.28.0","webpack-cli":"^3.3.7","webpack-dev-server":"^3.8.0","webpack-merge":"^4.1.5","zero-md":"git+https://github.com/zerodevx/zero-md.git"},"husky":{"hooks":{"pre-commit":"lint-staged && tsc --noEmit"}},"lint-staged":{"*.{js,ts}":["eslint --fix","prettier --write","git add"]},"config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"}},"commitlint":{"extends":["@commitlint/config-conventional"]},"gitHead":"abd4a36f830da8ed49c388464d0ba8866f904a22","description":"A set of Web Components for data-driven Linked Data REST client in the browser.","bugs":{"url":"https://github.com/tpluscode/ld-navigation/issues"},"homepage":"https://github.com/tpluscode/ld-navigation#readme","_id":"ld-navigation@1.0.0-3","_nodeVersion":"10.16.3","_npmVersion":"6.9.0","dist":{"integrity":"sha512-KMtm2AnOQhvxKLH/AwEUwmF+jqrMT+TI6cqdOdTxgz/NAItsJxU4JWLLvLRgXP0dGwXy8aXQtQqR+n35iBuL5w==","shasum":"b741b09ddffeb9a365b7a54c4eda9d9711f9afe7","tarball":"https://registry.npmjs.org/ld-navigation/-/ld-navigation-1.0.0-3.tgz","fileCount":24,"unpackedSize":47278,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdght6CRA9TVsSAnZWagAAeAIP/2siha1JCtMINxjdORsK\nLX50W/LGoCKPAjXWKAgYVJ5zSDlbtTIhYtD+6vfPD3eIYpzEaUaySfLs7hHY\nToD60x6DkW83Wsi+6TZCoH9u5ScwRj3eaHC4P/gImteCb+1upa/379WHiTYe\nM/o2myk9xKxtTLwuBczEQhzzVuWqbVy0rLdj2Gb9K9jZZsPEL90+CNxcTAyc\nND/ZPucDpQW2m6VxD+gvYhs7tpE/QlU4HYPtSk/YrQviDIgGuz3F59VJ/qgi\novUIpXLDb2ysyBjs17UUrgDKu2tErVwcDzNXF2fhoQbk/qTXn7Egj7J9B5LX\n2ABDSyiDaWy4ZkdFhSx/JloAA14SwIxJf2FJecImdmBU4zHkw2ArVWt3d9MP\nT09ziBESbnr9iXrlqieK+JrDVSjC2NhRsNOSgZYjgh9EhMJsH3MAfhhaXvEn\n+0884zc+Lrcz7xkUqe/6W2QjN+D725ETK5HOnsWOfyKVvpLWPIueJTSa897v\nMKHvXqDMldKh2SQmWzsBR1aFHl9HRRuvPAd2ODC+VzIlaLBPUxqG5p8SDZDT\nm8ZUkWhkuPAbbfK+1TKjZ0LvagAes2yCzq5r9gvJxkLscFcZMn9nBr/iD6Va\nSKb5inbFzuMwrVCEG/06gM9GTV2gXNS6/UKKTW/pRnitOyEAZ3uhaBjw8P8c\nNWlX\r\n=ketk\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDm7wES7/ZMWJlOWUC7qzMen4KY9oiGUA26+BlOBWwWcgIgaK8NQeXq/8K08y1vJV7ehYS1TMWInErV4zVfpl3iQns="}]},"maintainers":[{"name":"tpluscode","email":"npm@t-code.pl"}],"_npmUser":{"name":"tpluscode","email":"npm@t-code.pl"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ld-navigation_1.0.0-3_1568807801749_0.011048123760843742"},"_hasShrinkwrap":false},"1.0.0":{"name":"ld-navigation","version":"1.0.0","main":"index.js","license":"MIT","repository":{"type":"git","url":"git://github.com/tpluscode/ld-navigation.git"},"scripts":{"prepare":"tsc","test":"karma start --coverage","lint:eslint":"eslint --ext .js,.html,.ts . --quiet --ignore-path .gitignore","format:eslint":"eslint --ext .js,.html,.ts . --quiet --fix --ignore-path .gitignore","lint:prettier":"prettier \"**/*.{js,ts}\" --check --ignore-path .gitignore","format:prettier":"prettier \"**/*.{js,ts}\" --write --ignore-path .gitignore","lint":"npm run lint:eslint && npm run lint:prettier","format":"npm run format:eslint && npm run format:prettier","test:watch":"karma start --auto-watch=true --single-run=false","test:update-snapshots":"karma start --update-snapshots","test:prune-snapshots":"karma start --prune-snapshots","test:legacy":"karma start --compatibility all --coverage","test:legacy:watch":"karma start --compatibility all --auto-watch=true --single-run=false","test:bs":"karma start karma.bs.config.js --compatibility all --coverage","start":"webpack-dev-server --mode development","build":"webpack --mode production","release":"standard-version"},"dependencies":{"autobind-decorator":"^2.4.0"},"devDependencies":{"@babel/plugin-proposal-class-properties":"^7.5.5","@babel/plugin-proposal-decorators":"^7.4.4","@babel/preset-typescript":"^7.3.3","@commitlint/cli":"^8.1.0","@commitlint/config-conventional":"^8.1.0","@open-wc/building-webpack":"^2.5.8","@open-wc/eslint-config":"^1.1.1","@open-wc/prettier-config":"^0.1.10","@open-wc/testing":"^2.3.4","@open-wc/testing-karma":"^3.1.38","@open-wc/testing-karma-bs":"^1.1.63","@polymer/app-layout":"^3.0.2","@polymer/iron-pages":"^3.0.1","@polymer/paper-button":"^3.0.1","@polymer/paper-card":"^3.0.1","@polymer/paper-item":"^3.0.1","@polymer/paper-listbox":"^3.0.1","@polymer/paper-toast":"^3.0.1","@polymer/polymer":"^3.1.0","@typescript-eslint/eslint-plugin":"^2.0.0","@typescript-eslint/parser":"^2.0.0","copy-webpack-plugin":"^5.0.4","cz-conventional-changelog":"^3.0.2","eslint-plugin-lit":"^1.2.0","husky":"^3.0.3","lint-staged":"^9.2.1","lit-html":"^1.1.2","lit-element":"^2.2.1","sinon":"^7.4.1","standard":"^14.0.2","standard-version":"^7.0.0","typescript":"^3.5.3","webpack":"^4.28.0","webpack-cli":"^3.3.7","webpack-dev-server":"^3.8.0","webpack-merge":"^4.1.5","zero-md":"git+https://github.com/zerodevx/zero-md.git"},"husky":{"hooks":{"pre-commit":"lint-staged && tsc --noEmit"}},"lint-staged":{"*.{js,ts}":["eslint --fix","prettier --write","git add"]},"config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"}},"commitlint":{"extends":["@commitlint/config-conventional"]},"gitHead":"5e07f72961244102d46e3fb81212b6df64c9535b","description":"A set of Web Components for data-driven Linked Data REST client in the browser.","bugs":{"url":"https://github.com/tpluscode/ld-navigation/issues"},"homepage":"https://github.com/tpluscode/ld-navigation#readme","_id":"ld-navigation@1.0.0","_nodeVersion":"10.16.3","_npmVersion":"6.9.0","dist":{"integrity":"sha512-fYLHK1DXUBwq4VeZlJOeo+KBRbBNNMq9VoOijj3KxXrBNhqPNJ3VdHKklCoVVLaboGspsacg7UyY7diBhIc8qA==","shasum":"543050d507d5f185b84fbc89b4bda97463a33122","tarball":"https://registry.npmjs.org/ld-navigation/-/ld-navigation-1.0.0.tgz","fileCount":21,"unpackedSize":22187,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdlzEZCRA9TVsSAnZWagAAYI8QAJx7l/o3CghmbM97f3AT\nHNIsY7IXLJyNlqvul/djx3xn8pMKvc/HHKmL/rCcKMNIyhmre2nr6xc+IM2c\n+fZjzfoj0cG42OU/aY5ALF+NhEPZyObsjJiRKTYTxpzvMSPx2U/ldS9nP+0a\nkZIkLw1CjTlFoFOmULYEO02U/8YHwZ6hkRil/tPPkyc+Nf5c55scnhSnmlCD\nGyEi9fBQWO2U4SheXD2uEpwqykyJ1G7pSSrBSkYKvSm8hAKYII+gepQ2LTn/\nryD7CUDT07+nwl1rcRnxIcfpEAD00qW8U+UrOEOafme8JnDbklNmeUe8ViXQ\nKhHbYpNYRMtJhrx1bnkKEpJ0w8inKBaykcrbA0Q9y1iKQMoSPIP0rN/XM10k\nM62Bc4P4hKdrU/lUOibDag9ZLuF0JNt7+XZLLh0LiC3e+uBEloS595BLC3tV\n6HYB9jX6LgQ/BuxYOaICtABk2Vjf0JdIcrbMetaaW3fd+1oNRSqlQHI1y+Ci\nd6W0I4sBh6uYrShh9peECJ+hiUAv4PdZuLyT8R3FKP1A1IiCaqJ0T+nSqstU\nhcu3JCTClVn9ODk5F3tj7hCf5VAM96DZgUVsysv9jrrurnnvOqpO973xpPkQ\nPF5CDQ0NW3eFuGPe5LczwPd9yZxkO7nLKD3GWHWk7c2QFyTVIAsWrcvmmO2D\nF+6n\r\n=fjWQ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBBo2WX6+8NrjS8d3jjfRN2aYnHZ3STpymLuTfmERw/qAiEA0OLU4OqVdrndeBIluyR+3h0H9vIoTu9PfLnLkpmcEAY="}]},"maintainers":[{"name":"tpluscode","email":"npm@t-code.pl"}],"_npmUser":{"name":"tpluscode","email":"npm@t-code.pl"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ld-navigation_1.0.0_1570189592471_0.7102103621063893"},"_hasShrinkwrap":false},"1.1.0":{"name":"ld-navigation","version":"1.1.0","main":"index.js","license":"MIT","repository":{"type":"git","url":"git://github.com/tpluscode/ld-navigation.git"},"scripts":{"prepare":"tsc","test":"karma start --coverage","lint:eslint":"eslint --ext .js,.html,.ts . --quiet --ignore-path .gitignore","format:eslint":"eslint --ext .js,.html,.ts . --quiet --fix --ignore-path .gitignore","lint:prettier":"prettier \"**/*.{js,ts}\" --check --ignore-path .gitignore","format:prettier":"prettier \"**/*.{js,ts}\" --write --ignore-path .gitignore","lint":"npm run lint:eslint && npm run lint:prettier","format":"npm run format:eslint && npm run format:prettier","test:watch":"karma start --auto-watch=true --single-run=false","test:update-snapshots":"karma start --update-snapshots","test:prune-snapshots":"karma start --prune-snapshots","test:legacy":"karma start --compatibility all --coverage","test:legacy:watch":"karma start --compatibility all --auto-watch=true --single-run=false","test:bs":"karma start karma.bs.config.js --compatibility all --coverage","start":"webpack-dev-server --mode development","build":"webpack --mode production","release":"standard-version"},"dependencies":{"autobind-decorator":"^2.4.0"},"devDependencies":{"@babel/plugin-proposal-class-properties":"^7.5.5","@babel/plugin-proposal-decorators":"^7.4.4","@babel/preset-typescript":"^7.3.3","@commitlint/cli":"^8.1.0","@commitlint/config-conventional":"^8.1.0","@open-wc/building-webpack":"^2.5.8","@open-wc/eslint-config":"^1.1.1","@open-wc/prettier-config":"^0.1.10","@open-wc/testing":"^2.3.4","@open-wc/testing-karma":"^3.1.38","@open-wc/testing-karma-bs":"^1.1.63","@polymer/app-layout":"^3.0.2","@polymer/iron-pages":"^3.0.1","@polymer/paper-button":"^3.0.1","@polymer/paper-card":"^3.0.1","@polymer/paper-item":"^3.0.1","@polymer/paper-listbox":"^3.0.1","@polymer/paper-toast":"^3.0.1","@polymer/polymer":"^3.1.0","@typescript-eslint/eslint-plugin":"^2.0.0","@typescript-eslint/parser":"^2.0.0","copy-webpack-plugin":"^5.0.4","cz-conventional-changelog":"^3.0.2","eslint-plugin-lit":"^1.2.0","husky":"^3.0.3","lint-staged":"^9.2.1","lit-html":"^1.1.2","lit-element":"^2.2.1","sinon":"^7.4.1","standard":"^14.0.2","standard-version":"^7.0.0","typescript":"^3.5.3","webpack":"^4.28.0","webpack-cli":"^3.3.7","webpack-dev-server":"^3.8.0","webpack-merge":"^4.1.5","zero-md":"git+https://github.com/zerodevx/zero-md.git"},"husky":{"hooks":{"pre-commit":"lint-staged && tsc --noEmit"}},"lint-staged":{"*.{js,ts}":["eslint --fix","prettier --write","git add"]},"config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"}},"commitlint":{"extends":["@commitlint/config-conventional"]},"gitHead":"7c473b5851dc9065534a245804be22950ed3e5ca","description":"A set of Web Components for data-driven Linked Data REST client in the browser.","bugs":{"url":"https://github.com/tpluscode/ld-navigation/issues"},"homepage":"https://github.com/tpluscode/ld-navigation#readme","_id":"ld-navigation@1.1.0","_nodeVersion":"10.17.0","_npmVersion":"6.11.3","dist":{"integrity":"sha512-4uiaBpegP+QbWZin4ek5rMisTnD9Fz69Mw6ONbinQwB6QIim1ouUwAyag7JFujFeUKog5ISA17S3tLrZqaBEMA==","shasum":"7579bc53c45166083a416e42f18610ed44eb6126","tarball":"https://registry.npmjs.org/ld-navigation/-/ld-navigation-1.1.0.tgz","fileCount":21,"unpackedSize":22989,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdxSBmCRA9TVsSAnZWagAA9QoQAJX/9s9lTl+zNICY07NF\nNhd0DRoR9H2eruXbEyuXTDnVM8Oh0QuRV6oH2OTNZGtDx2ZY8nicjYOU/hUs\nTWCekgoDlZjOLApIUmtr2trvl8SodcWCCON1x/C4CShdHyQlu0taXwftDG4G\nJm+Q7dTD1+mWfIa7C1PxtjVcWQxN6lLVBwtQCaCrbOynEj1r5GFkZKHK3Tsg\nQErmCLULx3n4Jb8HMTXTIBpcmGDp7ttkMsiyRG0B75dy9Z6ZUKMVEKW2EBq3\nHJVRyonNSQjVZzqz18oNT/aeBT1mr2wievRjifjUaQ+WFxskLngEi4qctGk/\nEyIWsO4BpryvtDY8EVYIhTVoSbWn2Crdt/0iAcN/2Gfw72X5fXZG/i4RX8pr\nma/HNc2hEb5zyV+SrUphnu7nc25dwv2drxUDlFjOSk0gIz3QNpvcDomGj+ow\nuX3gUzQdJ7t7pwdgF2gmVO5IiET6nR34uCwgmkXB0ccqchAMaCRzHiT8+kAB\nxSdij7swfK7Ck8aTcEIuSzWJtXVvHBifw+qk0FTk8e78wZbzoj+yRmcGQFyA\nb3ZgMBwGCjW5wC3hSW+MVdCUeme09vyHjTvQx9gweQQhBfpjUcOdQjOYpEPk\n00Q3ZypHvYjN5pDpRFX/Nhflrh2s0sIXsK8QvdLO2LjlV9faHS1eGs+yhMvz\nEi77\r\n=iiM2\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICmuIqIfbXNr+EgXnTEVG0yDigKWL75rKV5lO29xZJ9IAiEAgOeoiYMiPFn3afFtYBo/OK9SLvNvBoAblMmWggt4m1g="}]},"maintainers":[{"name":"tpluscode","email":"npm@t-code.pl"}],"_npmUser":{"name":"tpluscode","email":"npm@t-code.pl"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ld-navigation_1.1.0_1573199973740_0.2367365403455306"},"_hasShrinkwrap":false},"1.1.1":{"name":"ld-navigation","version":"1.1.1","main":"index.js","license":"MIT","repository":{"type":"git","url":"git://github.com/tpluscode/ld-navigation.git"},"scripts":{"prepare":"tsc","test":"karma start --coverage","lint:eslint":"eslint --ext .js,.html,.ts . --quiet --ignore-path .gitignore","format:eslint":"eslint --ext .js,.html,.ts . --quiet --fix --ignore-path .gitignore","lint:prettier":"prettier \"**/*.{js,ts}\" --check --ignore-path .gitignore","format:prettier":"prettier \"**/*.{js,ts}\" --write --ignore-path .gitignore","lint":"npm run lint:eslint && npm run lint:prettier","format":"npm run format:eslint && npm run format:prettier","test:watch":"karma start --auto-watch=true --single-run=false","test:update-snapshots":"karma start --update-snapshots","test:prune-snapshots":"karma start --prune-snapshots","test:legacy":"karma start --compatibility all --coverage","test:legacy:watch":"karma start --compatibility all --auto-watch=true --single-run=false","test:bs":"karma start karma.bs.config.js --compatibility all --coverage","start":"webpack-dev-server --mode development","build":"webpack --mode production","release":"standard-version"},"dependencies":{"autobind-decorator":"^2.4.0","@tpluscode/all-implementations-of":"^1.0.0"},"devDependencies":{"@babel/plugin-proposal-class-properties":"^7.5.5","@babel/plugin-proposal-decorators":"^7.4.4","@babel/preset-typescript":"^7.3.3","@commitlint/cli":"^8.1.0","@commitlint/config-conventional":"^8.1.0","@open-wc/building-webpack":"^2.5.8","@open-wc/eslint-config":"^1.1.1","@open-wc/prettier-config":"^0.1.10","@open-wc/testing":"^2.3.4","@open-wc/testing-karma":"^3.1.38","@open-wc/testing-karma-bs":"^1.1.63","@polymer/app-layout":"^3.0.2","@polymer/iron-pages":"^3.0.1","@polymer/paper-button":"^3.0.1","@polymer/paper-card":"^3.0.1","@polymer/paper-item":"^3.0.1","@polymer/paper-listbox":"^3.0.1","@polymer/paper-toast":"^3.0.1","@polymer/polymer":"^3.1.0","@typescript-eslint/eslint-plugin":"^2.0.0","@typescript-eslint/parser":"^2.0.0","copy-webpack-plugin":"^5.0.4","cz-conventional-changelog":"^3.0.2","eslint-plugin-lit":"^1.2.0","husky":"^3.0.3","lint-staged":"^9.2.1","lit-html":"^1.1.2","lit-element":"^2.2.1","sinon":"^7.4.1","standard":"^14.0.2","standard-version":"^7.0.0","typescript":"^3.5.3","webpack":"^4.28.0","webpack-cli":"^3.3.7","webpack-dev-server":"^3.8.0","webpack-merge":"^4.1.5","zero-md":"git+https://github.com/zerodevx/zero-md.git"},"husky":{"hooks":{"pre-commit":"lint-staged && tsc --noEmit"}},"lint-staged":{"*.{js,ts}":["eslint --fix","prettier --write","git add"]},"config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"}},"commitlint":{"extends":["@commitlint/config-conventional"]},"gitHead":"671461402ea08a28d30da378e3566db9a7f65e90","description":"A set of Web Components for data-driven Linked Data REST client in the browser.","bugs":{"url":"https://github.com/tpluscode/ld-navigation/issues"},"homepage":"https://github.com/tpluscode/ld-navigation#readme","_id":"ld-navigation@1.1.1","_nodeVersion":"10.17.0","_npmVersion":"6.11.3","dist":{"integrity":"sha512-rX/VBo+ajH5gRa3t8o2ldBH7D/O6DH728QPDRHaUqoAYwyo08lJodIR88rTKjqRzn97Z5MJ7vFB6eFSuQqD7gA==","shasum":"98ba88315e11ea7d9d5658dfb77f8bf060fd209c","tarball":"https://registry.npmjs.org/ld-navigation/-/ld-navigation-1.1.1.tgz","fileCount":19,"unpackedSize":22630,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd4CH/CRA9TVsSAnZWagAAgLoQAIPuZd/rEkt8xDskfpuR\n4yIBKXC3Lmcr174zGA5q2T6MczXBDay0ISqHYGxTOlrjgVZOqzYoDC7UpSRC\nU6Iko0UnedQ/tnTmq8nOv2L9StFDxeup74uQ+Vv7x+k91dcYqoajnrXTcAa9\nA+9bjxLguuzoYZ+jumrWcrTVwxZC3sT0KGycKdl9iQPYaCcV1uKIqzW5CWfw\nR9A+1J7M7R1tOyaRS9mew4QCgTOCqEYeDUnOIvlBSlY7JMm7zzzoEPbWR/Gs\n8sRuPBGbqlMkstWleT7kQfMfL73lMccDlSHxPK6a3POnpwPyNV5cpAlGckf7\nAgoseHVCLSgW6YXS/NuU+gQfm+n5PUB1Yqdcd8obLZjJqJbZF4Vcv/Ka5hta\npyDz0uOzJvCtxKbyBsElIOhT1l/kesmR1HMerrrMoEzAalOdOHZWFZZ5T16D\n5yBHSSjNlrMrSBSR4IJIlAbSrH3bkfBmbgsMAeKUCrWhOkLVB24iNjhi6vQC\nHedF3G29Q3gzg/vtorvKi6HiHxh6eiRRQqVmrOdX7BNrWB01SYupHA286R2h\n/GCIO2AumqYmZPEB/JrkQVECISvR3KDxpLMKMI5zG8tyYiKwNmM4uPkdy5sZ\nR0Fcdqcj10ffjNcyg4stFB16RWJMJHhgi1GNC1wsAZOAr69TFVFPjFHZfxaE\nC4lI\r\n=PRcM\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIE7Jr911nlhftpDzy9sINe0bUn/chmQcXpCZk25FPBm2AiATmmWzLBjL//C895uHN4uPQfU5Oat+i2vGDALwl8zB1A=="}]},"maintainers":[{"name":"tpluscode","email":"npm@t-code.pl"}],"_npmUser":{"name":"tpluscode","email":"npm@t-code.pl"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ld-navigation_1.1.1_1574969854607_0.24435666544489187"},"_hasShrinkwrap":false}},"time":{"created":"2018-12-20T14:13:38.442Z","0.5.0-a1":"2018-12-20T14:13:38.597Z","modified":"2022-05-07T18:01:35.690Z","0.5.0":"2019-01-04T06:49:11.142Z","0.5.1":"2019-01-22T10:28:08.450Z","0.5.2":"2019-01-22T15:51:12.621Z","1.0.0-0":"2019-09-02T15:36:01.438Z","1.0.0-1":"2019-09-02T16:09:47.415Z","1.0.0-2":"2019-09-14T16:58:43.760Z","1.0.0-3":"2019-09-18T11:56:41.876Z","1.0.0":"2019-10-04T11:46:32.610Z","1.1.0":"2019-11-08T07:59:33.867Z","1.1.1":"2019-11-28T19:37:34.711Z"},"maintainers":[{"name":"tpluscode","email":"npm@t-code.pl"}],"description":"A set of Web Components for data-driven Linked Data REST client in the browser.","license":"MIT","readme":"# ld-navigation [![Build Status](https://travis-ci.org/tpluscode/ld-navigation.svg?branch=master)](https://travis-ci.org/tpluscode/ld-navigation) [![codecov](https://codecov.io/gh/tpluscode/ld-navigation/branch/master/graph/badge.svg)](https://codecov.io/gh/tpluscode/ld-navigation)\n\nA set of Web Components for data-driven Linked Data REST client in the browser.\n\nWith ld-navigation you let actual Linked Data be the router of your application.\n\nYou then simply GET and decide what to display based on the data returned.\n**No more client-side routing**.\n\n### &lt;ld-navigator&gt;\n> Control current resource in relation to document path\n> Maintain browser history with HTML history API\n> Set up base resource URL and base client path to tweak routing\n\n### &lt;ld-link&gt;\n> Initiate transition between application states\n\n## Demos\n\n[Demos and sort-of documentation](https://routing.hypermedia.app/demo/).\n\n[`ld-navigation` also plays nice with location.hash history](https://routing.hypermedia.app/demo/#hash).\n\n## Installation\n\nRun `yarn add ld-navigation`\n\nIn your code\n\n```js\n// main element, required\nimport 'ld-navigation/ld-navigator'\n// optionally, to wrap links\nimport 'ld-navigation/ld-link'\n// optionally, to initiate navigation manually\nimport fireNavigation from 'ld-navigation/fireNavigation'\n```\n\n**No external dependencies**\n\n## Usage\n\nLet's assume that:\n* Your website is at `http://www.my.app/`.\n* Your Linked Data API is at `http://api.my.app/`.\n\n``` html\n<!-- navigator exposes a resourceUrl property, see below -->\n<ld-navigator></ld-navigator>\n\n<!-- ld-link replaces or wraps anchor -->\n<ld-link resource-url=\"http://api.my.app/people\">get people</ld-link>\n<ld-link resource-url=\"http://api.my.app/projects\">\n    <a>get projects</a>\n</ld-link>\n\n<script>\nvar navigator = document.querySelector('ld-navigator')\nnavigator.addEventListener('resource-url-changed', function(e) {\n    // same url sits in e.detail.resourceUrl\n    var nextUrl = navigator.resourceUrl;\n\n    // no go ahead and $.get or window.fetch your data from nextUrl\n    window.fetch(nextUrl).then(bindDataWithPage);\n  });\n</script>\n```\nWith the above code, when you click the first link, the browser moves to `http://www.my.app/http://api.my.app/people` and the\n`resource-url-changed` event is fired.\n\n### Base URL\n\nObviously an URL like `http://www.my.app/http://api.my.app/people` is ugly (and, well, invalid). It is possible to get rid of the API domain\nby adding an attribute to the `<ld-navigator>` tag:\n\n``` html\n<ld-navigator base-url=\"http://api.my.app\"></ld-navigator>\n```\n\nThis way the API domain is stripped out from the browser address bar and `http://www.my.app/people` remains. This is where client-side\nrouting becomes virtually obsolete.\n\n### Polymer\n\n`ld-navigation` will also play nice with [Polymer](/Polymer/polymer/) - see the [demos](#demo) above.\n\n## Tests\n\nTests are written with [@open-wc/testing](http://open-wc.org).\n\n``` bash\nyarn install\nyarn test:local\n```\n","readmeFilename":"README.md","homepage":"https://github.com/tpluscode/ld-navigation#readme","repository":{"type":"git","url":"git://github.com/tpluscode/ld-navigation.git"},"bugs":{"url":"https://github.com/tpluscode/ld-navigation/issues"}}