reweex
v0.2.0
Published
A redux wrapper for webextensions
Downloads
2
Maintainers
Readme
reweex
reweex is a redux wrapper for webextensions. It uses the messaging system of the webextension-API to make redux stores available in all parts of a webextension.
Installation
Use the package manager npm to install reweex
.
npm install reweex
Usage
First initialize a store-server in the background script:
const store = createStoreServer(reducers);
Then initialize a store-proxy in any content-script or popup you would like to use redux:
async function initApp() {
const store = createStoreProxy();
}
initApp()
Built With
- Typescript - programming language
- webpack - module bundler
- Redux - predictable state container
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
Versioning
We use SemVer for versioning. For the versions available, see the tags on this repository.
Authors
- Nils-Börger Margotti - Maintainer - Nols1000
License
This project is licensed under the GPLv3 License - see the LICENSE-file for details
Acknowledgments
- Alexander Ivantsov for his redux-webext-library