Hactar has a very minimal API by design
Plugins to install using npm. Any plugins passed to it are added to devDependencies in package.json. You can install plugins the exact same way using npm:
$ npm install --save-dev hactar-plugin-name
A saga is a generator function that gets Flux actions, a channel, and state (set by other plugins)
type
and payload
keys. For example:{type: 'ADD_FILE', payload; { filepath: '~/project/src/index.js'}}
channel: A js-csp channel. See the js-csp docs for the shape of its API
getState: A redux getState function. Returns the current state of Hactar that plugins have added to. See the Redux docs for how its API
(Nothing): Sagas should only dispatch actions or yield.
A reducer function. They are the same as Redux reducers, so read its docs