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

0.74.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

771

Version

0.74.0

License

none

Unpacked Size

2.09 MB

Total Files

9

Last publish

Collaborators

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