1.0.0 ā€¢ Published 2 years ago

redux-irc v1.0.0

Weekly downloads
-
License
-
Repository
github
Last release
2 years ago

redux-irc

Handful of utilities you should keep in your toolbelt to handle IRC connectivity in React.

šŸš§ redux-irc is under development šŸš§

Examples

Contents

Features

States available:

  • channels
  • connections
  • servers
  • users
  • errors
  • (soon) messages

Actions available:

  • connect
  • disconnect
  • join
  • leave
  • (soon) send message

Installation

$ npm i redux-irc

Setup

// src/store/index.js
import { createStore, combineReducers } from 'redux'
import { reducer as irc } from 'redux-irc';

const rootReducer = combineReducers({
  // ... your other reducers here ...
  irc,
});

const store = createStore(rootReducer);
export default store;

Contributions

PRs are more than welcome. If you're planning to contribute please make sure to read the contributing guide: CONTRIBUTING.md

Inspiration

Thanks to Martyn Smith for his awesome project Node IRC, which served me as inspiration for the react irc implementation.