🚀 Socket Launch Week 🚀 Day 5: Introducing Socket Fix.Learn More

@gitbook/api

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@gitbook/api

Javascript (Browser and Node) API client for the [GitBook API](https://developer.gitbook.com/).

0.106.0
Version published
Weekly downloads
2.4K
-38.8%
Maintainers
6
Weekly downloads
 
Created

@gitbook/api

Javascript (Browser and Node) API client for the GitBook API.

Installation

npm install @gitbook/api

Usage

import { GitBookAPI } from '@gitbook/api';

const gitbook = new GitBookAPI({
    authToken: 'gb_abc,
});

const { data } = await gitbook..spaces.getSpaceById('abc');

FAQs

Package last updated on 01 Apr 2025

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