fchat
TypeScript icon, indicating that this package has built-in type declarations

1.4.0 • Public • Published

node-fchat

Node.js (and web) library for connecting to F-Chat

It is intended as an abstraction of the basic features for any FChat tool, including connections, and interacting with characters and channels.

Installation

yarn add fchat

Usage

import * as fchat from 'fchat';

Look at the interfaces for further information.

Modules

  • Connection - Provides a general implementation of a connection to FChat. Requires an implementation of the WebSocketConnection interface as a parameter to allow you to choose a WebSocket library yourself.
  • Characters - Keeps track of the characters that are online, and their relation to the connected character.
  • Channels - Keeps track of the global channel lists, and the channels the connected character is currently in.

Readme

Keywords

Package Sidebar

Install

npm i fchat

Weekly Downloads

7

Version

1.4.0

License

MIT

Unpacked Size

63.4 kB

Total Files

16

Last publish

Collaborators

  • mayawolf