{"_id":"@basehub/julianbenegas.website-demo","name":"@basehub/julianbenegas.website-demo","dist-tags":{"latest":"0.0.1"},"versions":{"0.0.1":{"name":"@basehub/julianbenegas.website-demo","description":"SDK client for basehub.ai GraphQL API","version":"0.0.1","main":"./dist/index.js","types":"./dist/index.d.ts","sideEffects":false,"keywords":["basehub.ai","graphql","sdk","typescript","genql"],"homepage":"https://basehub.ai","dependencies":{},"_id":"@basehub/julianbenegas.website-demo@0.0.1","_nodeVersion":"18.16.0","_npmVersion":"9.5.1","dist":{"integrity":"sha512-1VAnE7qqP/L2nQ7cYLrElfOb+T+MHvFsc8MrMGiftdwTGCLBqJKf/op/Ru+mtMf4jTarjtMzEokr1IRvwXYNSw==","shasum":"77351531f2aac7ea121d3f089193e5a9b5998ada","tarball":"https://registry.npmjs.org/@basehub/julianbenegas.website-demo/-/julianbenegas.website-demo-0.0.1.tgz","fileCount":55,"unpackedSize":173656,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFpoiDIQGJTIUpxN+rojLrbQoKz4OWqGpdk8TimsCLOuAiEA17FCaXONPsvkuQRxluRf9Qdz/pmTlt7ajeQOFiLus8o="}]},"_npmUser":{"name":"bsmnt","email":"jb@basement.studio"},"directories":{},"maintainers":[{"name":"julianbenegas","email":"julianbenegas99@gmail.com"},{"name":"bsmnt","email":"jb@basement.studio"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/julianbenegas.website-demo_0.0.1_1687378065104_0.355183784180751"},"_hasShrinkwrap":false}},"time":{"created":"2023-06-21T20:07:45.018Z","0.0.1":"2023-06-21T20:07:45.248Z","modified":"2023-06-21T20:07:45.479Z"},"maintainers":[{"name":"julianbenegas","email":"julianbenegas99@gmail.com"},{"name":"bsmnt","email":"jb@basement.studio"}],"description":"SDK client for basehub.ai GraphQL API","homepage":"https://basehub.ai","keywords":["basehub.ai","graphql","sdk","typescript","genql"],"readme":"\n\nTypeScript SDK for [https://basehub.ai](https://basehub.ai).\n\n<b>Features</b>\n\n- No codegen needed\n- Type completion & Type validation\n- No dependency on `graphql`\n- Works in browser, Node, Deno, Cloudflare workers, Bun and more\n\n## Usage\n\n```ts\nimport { createClient } from '@basehub/julianbenegas.website-demo'\n\nconst client = createClient({ token: process.env.BASEHUB_TOKEN })\n\nclient\n  .query({\n    _sys: {\n      hash: true,\n      id: true,\n      slug: true,\n    },\n  })\n  .then((data) => console.log(JSON.stringify(data, null, 2)))\n\nclient\n  .query({\n    homepage: {\n      _sys: {\n        createdAt: true,\n        hash: true,\n        id: true,\n      },\n      blog: {\n        subtitle: true,\n      },\n      cta1: {\n        href: true,\n        label: true,\n      },\n    },\n  })\n  .then((data) => console.log(JSON.stringify(data, null, 2)))\n\n\n```\n\nThis client has been generated with [Genql](https://genql.dev/), you can read more about usage and features [here](https://genql.dev/docs).\n\n## Support\n\nContact [support@basehub.ai](mailto:support@basehub.ai) for any feedback or questions.\n\n","readmeFilename":"README.md"}