@gitbook/api
TypeScript icon, indicating that this package has built-in type declarations

0.77.0 • Public • Published

@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');

Dependencies (2)

Dev Dependencies (5)

Package Sidebar

Install

npm i @gitbook/api

Weekly Downloads

1,282

Version

0.77.0

License

none

Unpacked Size

2.16 MB

Total Files

9

Last publish

Collaborators

  • taranvohra
  • gitbook-bot
  • samypesse
  • jpreynat
  • emmerich