Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@basehub/03zsw40f6w

Package Overview
Dependencies
Maintainers
2
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@basehub/03zsw40f6w

SDK client for basehub.com GraphQL API

  • 0.0.1
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
2
Weekly downloads
 
Created
Source

TypeScript SDK for https://basehub.com.

Features

  • No codegen needed
  • Type completion & Type validation
  • No dependency on graphql
  • Works in browser, Node, Deno, Cloudflare workers, Bun and more

Usage

import { createClient } from '@basehub/03zsw40f6w'

const client = createClient({ token: process.env.BASEHUB_TOKEN })

client
  .query({
    _sys: {
      hash: true,
      id: true,
      slug: true,
    },
  })
  .then((data) => console.log(JSON.stringify(data, null, 2)))

client
  .query({
    blogPage: {
      _sys: {
        createdAt: true,
        hash: true,
        id: true,
      },
      _title: true,
      description: true,
    },
  })
  .then((data) => console.log(JSON.stringify(data, null, 2)))


This client has been generated with Genql, you can read more about usage and features here.

Support

Contact support@basehub.ai for any feedback or questions.

Keywords

FAQs

Package last updated on 15 Aug 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc