GithubHelp home page GithubHelp logo

andykswong / mithic Goto Github PK

View Code? Open in Web Editor NEW
6.0 2.0 2.0 6.58 MB

Modular library for offline-first isomorphic JavaScript applications

Home Page: https://andykswong.github.io/mithic/

License: MIT License

JavaScript 1.06% TypeScript 98.94%
collaborative crdt decentralized javascript p2p state-channel cqrs cqrs-es event-sourcing typescript eventstore

mithic's Introduction

mithic

mithic npm docs license: MIT codecov build


Modular library for offline-first isomorphic JavaScript applications


Overview

mithic provides the building blocks for creating offline-first applications, using CQRS architecture with eventsourced CRDTs for storage and data replication. mithic is network agnostic and can be used in traditional client-server, decentralized, or local-only apps. Target use cases include business web apps, collaborative editing, multiplayer gaming, etc.

Documentation

See generated TypeDoc: https://andykswong.github.io/mithic/

Getting Started

To use the library, you can depend on the monorepo:

npm install --save mithic

Or select individual modular packages to use:

npm install --save @mithic/collections @mithic/cqrs @mithic/crdt

For detailed usages, see the following examples:

Packages

Core:

Package NPM Description
@mithic/collections npm Core collection interfaces and implementations
@mithic/commons npm Common utilities
@mithic/cqrs npm CQRS interface
@mithic/crdt npm Eventsourced CRDT library
@mithic/jsonr npm JSON intermediate representation for sandboxed scripting
@mithic/messaging npm Messaging interface

Plugins:

Package NPM Description
@mithic/denokv npm Deno KV adapters
@mithic/ipfs npm IPFS and libp2p adapters
@mithic/level npm abstract-level adapters
@mithic/redis npm Redis adapters

License

This repository and the code inside it is licensed under the MIT License. Read LICENSE for more information.

mithic's People

Contributors

andykswong avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.