Skip to content

A silly micro-app to teach myself some FRP using Cycle.js — can you type that fast?

License

Notifications You must be signed in to change notification settings

chikamichi/typometer

Repository files navigation

Typometer

A silly micro-app to teach myself some FRP using Cycle.js & the SAM Pattern.

  • Demo: https://typometer.netlify.com/ (works in Chrome, not so much in Firefox!)
  • Keybindings: just start typing! ESC to retry, Ctrl+Enter or F2 to edit text.

Installation

Part of the original experiment was to cover setting up a project with Typescript, ES6 and SystemJS. The latter has then been replaced with good ol' Webpack, greatly simplifying installation.

Simply run yarn start (if using npm: npm install; npm run start).

About dependencies

TODO

Check the issues. Note that the SAM Pattern is currently halfway implemented (only the next-action predicates, not the action-state logic).