{"_id":"@basehub/ea6tq9k9c7","name":"@basehub/ea6tq9k9c7","dist-tags":{"latest":"0.0.1"},"versions":{"0.0.1":{"name":"@basehub/ea6tq9k9c7","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/ea6tq9k9c7@0.0.1","_nodeVersion":"18.16.0","_npmVersion":"9.5.1","dist":{"integrity":"sha512-oVdyEQY1ebn6Vxzv2OQADJpKDQJabl0FO0bWYDVHHlrB/5WjaN3W+Ah0V43tI5VofPaJfxjvTsHDX/Uw2N9RWg==","shasum":"0292155a431fc6ec5de55f33430b6651c85327c1","tarball":"https://registry.npmjs.org/@basehub/ea6tq9k9c7/-/ea6tq9k9c7-0.0.1.tgz","fileCount":55,"unpackedSize":141481,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICUZRpsyiJiOhrzZrZU9E6Ibpc7kB20ff0vg3T132tfkAiEA2Rb0hTGgHfepIc2tI6yVSl/9R2ZN0TixGPrMB962lVw="}]},"_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/ea6tq9k9c7_0.0.1_1687298846706_0.23912259829670424"},"_hasShrinkwrap":false}},"time":{"created":"2023-06-20T22:07:26.642Z","0.0.1":"2023-06-20T22:07:26.904Z","modified":"2023-06-20T22:07:27.103Z"},"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/ea6tq9k9c7'\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    home: {\n      _sys: {\n        createdAt: true,\n        hash: true,\n        id: 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"}