{"name":"tripledoc-react","version":"0.1.0-master-436361039-f419919c","description":"React utilities to interface with a Solid Pod using Tripledoc","scripts":{"test":"jest","build":"rollup --config rollup.config.js","prepublishOnly":"yarn run build"},"keywords":["rdf","solid","linked data","turtle","react","reactjs"],"homepage":"https://vincenttunru.gitlab.io/tripledoc/","bugs":{"url":"https://gitlab.com/vincenttunru/tripledoc-react/issues"},"main":"dist/index.js","module":"dist/index.es.js","types":"dist/index.d.ts","sideEffects":false,"author":{"name":"Vincent Tunru","email":"npm@vincenttunru.com","url":"https://VincentTunru.com"},"repository":{"type":"git","url":"git+https://gitlab.com/vincenttunru/tripledoc-react.git"},"license":"MIT","devDependencies":{"@testing-library/react":"^9.4.0","@testing-library/react-hooks":"^3.2.1","@types/jest":"^25.1.2","@types/solid-auth-client":"^2.4.0","jest":"^25.1.0","jest-junit":"^10.0.0","plandoc":"^1.0.0","react":"^16.12.0","react-dom":"^16.12.0","react-test-renderer":"^16.12.0","rollup":"^1.20.3","rollup-plugin-typescript2":"^0.26.0","solid-auth-client":"^2.4.1","ts-jest":"^25.2.0","typedoc":"^0.16.9","typescript":"^3.7.5"},"dependencies":{"@types/react":"^16.9.19","@types/react-dom":"^16.9.5"},"peerDependencies":{"plandoc":"^1.0.0","react":"^16.12.0","react-dom":"^16.12.0","solid-auth-client":"^2.3.1"},"gitHead":"f419919ceb1278d68f3bc92a217c89c07fa885c6","readme":"tripledoc-react\n======\nUtilities to make it easier to work with [Tripledoc](https://vincenttunru.gitlab.io/tripledoc/) in [React](https://reactjs.org/) applications.\n\n# Installation\n\n```bash\nnpm install tripledoc-react plandoc solid-auth-client\n```\n\n# Usage\n\n```javascript\nimport { describeDocument, fetchDocument } from 'plandoc';\nimport { useDocument } from 'tripledoc-react';\n\nconst virtualProfileDoc = describeDocument().isFoundAt('https://www.w3.org/People/Berners-Lee/card');\n\nconst SomeComponent = () => {\n  const [profileDoc, setProfileDoc] = useDocument(virtualProfileDoc);\n\n  if (typeof profileDoc === 'undefined') {\n    return <>Loading…</>;\n  }\n  if (profileDoc === null) {\n    return <>Error: Could not fetch profile information.</>\n  }\n\n  // Do something with `profileDoc`\n};\n```\n\n# Changelog\n\nSee [CHANGELOG](https://gitlab.com/vincenttunru/tripledoc-react/blob/master/CHANGELOG.md).\n\n# License\n\nMIT © [Inrupt](https://inrupt.com)\n","readmeFilename":"README.md","_id":"tripledoc-react@0.1.0-master-436361039-f419919c","_nodeVersion":"12.16.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-dLg/SqKCcmIGe2Ygq8ECgmJA6P9CxxTJOSCrvA5y/IodiDQ7wf6/1UdHaCi5U78RqZ8BjGsN6rtx14lTbjuKcA==","shasum":"b61649beded89f83206920976f4199043ebacfd2","tarball":"https://registry.npmjs.org/tripledoc-react/-/tripledoc-react-0.1.0-master-436361039-f419919c.tgz","fileCount":33,"unpackedSize":28133,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeRWRlCRA9TVsSAnZWagAAVtQP/i2bjunivoBtvkQIhMiA\nEqFqSlnNhH2NPCdRSEc5YqIszIGN1nEJuho4jSXvgG+/VMw5Br3HHQ6WNKdz\nFx0LNAigLJe/vokcJoleNJJImcqSmWqgIAYe0tJEBAsqXuISQfuGTha01bFl\nU6uJil9qcQfet2IZzyOQ6rpeo6DQKZ6+3cLftuJ4oG7MRCJv26NnnmYIivrg\nMhPMqZUOz19a7HDxv0BlXbUoOlAEf+atf6YbcVJPt5F7uDhEHt8xoMwEEUVI\n+V8e7HHRRi2aW3qE0qKSIQCpp98vSwJWdw1BIqYnOxKXA8eeLXL98sorFXw8\nIDgiiJT/lK8UZXd2ec5kB4RWahJ9EMQBn9MHxag8lGQLtiYtQIPQ4DgYUEnw\nXXjqgSRZdYQeCm1ssoVLYJf4uZY7gLR+l8e3VxdjXJnEkgUIfIR7n/o6g+kv\nMuwu+YgoAN0i7oTpmxn7b+/nBVT0q7F6jq0xz/68tOLVNhxV5NTEtVX0qrs+\nbG20xcK69G5h9LWjkAdkRZdO9O2BgGEfVSkZzPGUVJfky/LJjlpY4aoju0Nk\n54sEvG/TwKApNMERCa5nGT24aAkGzcjA8H2Pv0oMaNGed8Cr61WhrLIDbBCB\nj8eI3vqMdJFLWKkBtq+dF6I38kp3L9AiOh8mXOrQxRb41AhEZn2tnmM5KkmV\nhTSw\r\n=wndF\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCXXCOPJ9QEQ/IovtBKTZCX8qbA2yFcLjkdhn3W+Y24UQIhAO137gQ7RIvJO2gj2S53h8P9jVPITKOee1dqij2+nd6y"}]},"maintainers":[{"name":"vincenttunru","email":"npm@vincenttunru.com"}],"_npmUser":{"name":"vincenttunru","email":"npm@vincenttunru.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/tripledoc-react_0.1.0-master-436361039-f419919c_1581605988899_0.651465307599032"},"_hasShrinkwrap":false}