{"_id":"@basehub/julianbenegas.saras","name":"@basehub/julianbenegas.saras","dist-tags":{"latest":"0.0.2"},"versions":{"0.0.2":{"name":"@basehub/julianbenegas.saras","description":"SDK client for basehub.ai GraphQL API","version":"0.0.2","main":"./dist/index.js","types":"./dist/index.d.ts","sideEffects":false,"keywords":["basehub.ai","graphql","sdk","typescript","genql"],"homepage":"https://basehub.ai/julianbenegas/saras","dependencies":{"undici":"^5.18.0","native-fetch":"^4.0.2"},"_id":"@basehub/julianbenegas.saras@0.0.2","_nodeVersion":"18.15.0","_npmVersion":"9.5.0","dist":{"integrity":"sha512-QXnRmeq47F02t54bKyc4Nu6fIZCE8ZgKe03c9mDnBoia1Z2uJ6iGwCwTPfaMzyoG/ZxYofyPlelccxI/8xc+Nw==","shasum":"f6a2467df99e227f2d264bd94dd8738d1005c311","tarball":"https://registry.npmjs.org/@basehub/julianbenegas.saras/-/julianbenegas.saras-0.0.2.tgz","fileCount":55,"unpackedSize":121132,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHjtj5dNwbVyomKSfLLIXqYciCk/rysBGU9rnWVqPCjOAiARJc6XNtzPJfuCgj323LOOQulCMrLEzZ+WX5yiHCg2iw=="}]},"_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.saras_0.0.2_1683513735909_0.26607602245607676"},"_hasShrinkwrap":false}},"time":{"created":"2023-05-08T02:42:15.856Z","0.0.2":"2023-05-08T02:42:16.099Z","modified":"2023-05-08T02:42:16.319Z"},"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/julianbenegas/saras","keywords":["basehub.ai","graphql","sdk","typescript","genql"],"readme":"\n\nTypeScript SDK for [https://basehub.ai/julianbenegas/saras](https://basehub.ai/julianbenegas/saras).\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.saras'\n\n\nconst client = createClient({ token: process.env.BASEHUB_TOKEN })\n\n\nclient\n  .query({\n    home: {\n      _sys: {\n        id: true,\n        lastModified: true,\n        title: true,\n      },\n      title: true,\n    },\n  })\n  .then((x) => console.log(JSON.stringify(x, null, 4)))\n\n\n\nclient\n  .query({\n    sys: {\n      id: true,\n      slug: true,\n      title: true,\n    },\n  })\n  .then((x) => console.log(JSON.stringify(x, null, 4)))\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"}