New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

bearychat

Package Overview
Dependencies
Maintainers
4
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bearychat

BearyChat API client for Node and the Browser.

  • 1.2.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
11
increased by120%
Maintainers
4
Weekly downloads
 
Created
Source

bearychat.js

BearyChat API client for Node and the Browser.

@BearyChat Build Status Development Status

中文文档

Install

$ npm i bearychat

or with yarn

$ yarn add bearychat

Usage

Plain usage example:

const bearychat = require('bearychat');
bearychat.rtm.start({token: '<your token>'})
  .then(resp => resp.json())
  .then(data => {console.log(data)});

Use HTTPClient:

const HTTPClient = require('bearychat').HTTPClient;
const client = new HTTPClient('<your token>');
client.rtm.start()
  .then(data => {console.log(data)});

Note that you DON'T need to parse response to JSON with HTTPClient, this is handled automatically.

Full API Documentation

Test

$ npm run test

Contributing

Contributing is welcome, the contribution guide can be found in CONTRIBUTING

Generating API Client

  1. npm run download-api-schema
  2. npm run build:src

LICENSE

MIT

Keywords

FAQs

Package last updated on 02 Jun 2017

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc