3.2.0 • Published 4 years ago

staerm v3.2.0

Weekly downloads
1
License
MIT
Repository
github
Last release
4 years ago

staerm

Stateful, declarative & predictive library to build reactive terminal UIs.

Principles

  1. The state of terminal at any given point can be represented by a simple object with the type

    { text: string
    , input:
        | null
        | { position:
              { x: number
              , y: number
              }
          , caretOffset: number
          , length: number
          }
    }
  2. The state.text is the (preferable) source of truth for all other internal app state. And optionally state.input but should be avoided if possible.

What, why & usage

Will add soon, by the time look at src/examples/hello.ts

3.2.0

4 years ago

3.1.5

4 years ago

3.1.4

4 years ago

3.0.4

5 years ago

3.0.3

5 years ago

3.0.2

5 years ago

3.0.1

5 years ago

3.0.0

5 years ago

2.1.0

5 years ago

2.0.2

5 years ago

2.0.1

5 years ago

2.0.0

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago