1.1.24 • Published 7 years ago
beano-redux
Licence
MIT
Version
1.1.24
Deps
6
Size
96 kB
Vulns
0
Weekly
0
Beano Redux API
This API has be specifically built for Beano related applications.
Demo
Refer to the demo directory for an example.
BeanoRedux Configuration
import BeanoRedux, {BeanoConfig} from 'beano-redux';
// Basic configuration for setting up Beano-Redux with Beano-Client
const beanoConfig: BeanoConfig = {
// connection details
host: "beano.app",
port: 80,
// HTTPS
secure: false,
// debug mode for testing
debug: true
};
// Access Actions: redux.actions
// Access Stores: redux.stores
// Could also be made a default export
export const redux = new BeanoRedux(beanoConfig);