New Powerful Machines

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

    3.0.1 • Public • Published

    k-ramel

    State manager for your app components, the safe and easy way.

    Core module of k-ramel ecosystem (👉 main documentation)

    CircleCI Coverage Status NPM Version

    Why should you give it a try ? 🤔

    Because k-ramel:

    • ⚡️ is fast
    • 📸 is immutable
    • 📦 is modular
    • 💎 encourages to decouple UI and state management
    • 💥 encourages to not have side effect into your business logic
    • 👌 has a light bundle size footprint
    • 🐛 works with redux-dev-tools

    Ecosystem

    Go to the ecosystem documentation

    How to use k-ramel

    k-ramel is a data store that allows you to listen to event and then react to it. In a reaction you can access:

    • the outside world via drivers, this is where you put your side effects, like HTTP calls
    • your data, via store

    Then if you connect an UI to k-ramel, via connectors, it can be refreshed each time the store is updated.

    You can find documentation about each part of k-ramel there:

    Typescript

    Typescript integration for k-ramel has been added recently, the coverage of use cases might not be complete, so feel free to contribute! You can find the documentation about how to integrate k-ramel in a React + Typescript project here.

    Install

    npm i k-ramel

    DownloadsWeekly Downloads

    107

    Version

    3.0.1

    License

    MIT

    Unpacked Size

    23 kB

    Total Files

    6

    Last publish

    Collaborators

    • fabienjuif