{"name":"tripledoc-react","version":"1.0.0-master-439498127-134f8229","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":"134f82299d7041519fc9c8ea3f43433e7227f803","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@1.0.0-master-439498127-134f8229","_nodeVersion":"12.16.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-DrqM23xOqDBUNEyd3cdirAt7pCpyK/vG55HG0bQQ9ipHUtCHD1axhYePxaz/Zuf2k5WcD+nfn6sArzuodsaBkA==","shasum":"507c73b00955c2f71352e5b92985b3566bbf89e9","tarball":"https://registry.npmjs.org/tripledoc-react/-/tripledoc-react-1.0.0-master-439498127-134f8229.tgz","fileCount":33,"unpackedSize":28158,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeSmGhCRA9TVsSAnZWagAADtEQAKPQL1Tri43yILT+WB4X\nPNDDGr4sHhRn4IdcunhloL02Mkd5kiIwYZ5QfxfNkMEs63ofDzWJPWJVT2YW\n1ohdUtqIy1r2T/9h47GWYVW6WR0yfBXt3Mw9mAkELyF22mrj0JSxg+AER4qc\nDjr4fhWI5ihGjNYDJ/UE7H4oTGKBuA85niO0UBQec3RYJjpeKHDcWKJvhs00\n4z+3LLdkV8B/BIryaiQbDuqRpwmLvnKNvjVkcfNeK3M6tPZFxuQ46g1IPl8P\nei9H1XDEgpff56Py2HKrFzgu8+w1D8I+V4MxLXhTiHCj+1F8XT2MhDqPvaTP\nG1f7au1kFUsLsYJmGjn6XnbOGYGPecaMW4OMGCTfIuoIo9liRZvB0rC9Vv+7\nJTdw4hOZjd0sOWAxNVgiirIF5ZOM3RFFhYMqPVcUsAJJoeWzcYOLkyduT865\nIxb9UksFxGr5KS9aMncHqtUhHe/XJag2GuD5qUxpsFlQCeSPg49fI/uh/oaq\nNp5x19s1WEue1Y/6T9otSacLw4iFn5MlPI/cl/DbQUuTbTYG1CQU0jmvFkZ5\n8IRQDQ4kbYDRM8Ui72peNWM+GBN5qaVtHCNxmFpBAia+3rMCvhtzJS2EFIVi\nInwFxF+r+YrbiTWqKSZSskcRp3avojHEo+OQltXtayQiej4SYVk7mhxjA0Un\nL/Yg\r\n=MEKX\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDCQaCnVH+qgXH9dK1eAuCmushwtJdL6h8NsRPoFpjUywIhAPsjMnnxqhHdR07NFgMV80SImeT2vsoXwU3X0rb69lOr"}]},"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_1.0.0-master-439498127-134f8229_1581932960791_0.35720745716036495"},"_hasShrinkwrap":false}