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

0.2.0 • Public • Published

reweex

Build Status Code Coverage NPM Version

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

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

/reweex/

    Package Sidebar

    Install

    npm i reweex

    Weekly Downloads

    0

    Version

    0.2.0

    License

    GPL-3.0-only

    Unpacked Size

    162 kB

    Total Files

    33

    Last publish

    Collaborators

    • nols1000