The official Node.js client library for the Clubhouse API.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.circleci
flow-typed/npm
src Properly handle query params alongside request bodies (#30) Feb 12, 2019
.babelrc Configure babelrc correctly Sep 29, 2017
.eslintrc
.flowconfig Ensure flow config ignores build folder Sep 29, 2017
.gitignore Create new version of Clubhouse JS library Mar 27, 2017
.npmignore Create new version of Clubhouse JS library Mar 27, 2017
package.json v0.4.1 Feb 12, 2019
readme.md Configure CI for the project May 25, 2017
yarn.lock Properly handle query params alongside request bodies (#30) Feb 12, 2019

readme.md

Clubhouse-lib

A promise based interface to the Clubhouse API

CircleCI

Install

npm install --save clubhouse-lib

Usage

import Clubhouse from 'clubhouse-lib';

const client = Clubhouse.create('your token value');

client.listMembers().then(console.log);

client.getMember('')
  .catch(x => console.error(x.body))
  .then(console.log);

client.listProjects().then(console.log);