Quick Installation

Get started with GitHub Enterprise Cloud (data residency) in Node.js in under a minute

Terminal
npm install @apideck/node
import { Apideck } from '@apideck/node'

const apideck = new Apideck({
  apiKey: process.env.APIDECK_API_KEY,
  appId: process.env.APIDECK_APP_ID,
  consumerId: 'user-123'
})

// Connect to GitHub Enterprise Cloud (data residency)
const { data } = await apideck.issue-tracking.connectionsAll({
  serviceId: 'github-enterprise-cloud'
})

// List data from GitHub Enterprise Cloud (data residency)
const response = await apideck.issue-tracking.companiesAll({
  serviceId: 'github-enterprise-cloud'
})

console.log(response.data)

Why use the Node.js SDK?

Type Safety

Full type definitions for Node.js. Catch errors at compile time, not runtime.

Auto-generated

SDK is auto-generated from our OpenAPI spec, always up-to-date with the latest API.

Error Handling

Built-in error types and retry logic. Handle rate limits and errors gracefully.

Pagination

Automatic pagination handling. Iterate through large datasets effortlessly.

Authentication

OAuth, API keys, and consumer tokens handled automatically.

Documentation

Comprehensive docs with examples for every endpoint and method.

GitHub Enterprise Cloud (data residency) available in all SDKs

Choose your preferred language

API Resources

GitHub Enterprise Cloud (data residency) resources available

All these GitHub Enterprise Cloud (data residency) endpoints are accessible via the Node.js SDK

Launch accounting integrations in weeks, not months

Get started for free