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

0.46.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');

Readme

Keywords

none

Package Sidebar

Install

npm i @gitbook/api

Weekly Downloads

2,405

Version

0.46.0

License

none

Unpacked Size

1.91 MB

Total Files

9

Last publish

Collaborators

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