fp-ts-form
TypeScript icon, indicating that this package has built-in type declarations

0.0.4 • Public • Published

fp-ts-form v0.0.2

fp-ts port of Lumi's FormBuilder DSL

Installation

yarn add fp-ts-form

Source material

https://medium.com/fuzzy-sharp/building-a-type-safe-embedded-dsl-for-form-components-with-validation-e7ffaaf537e4

Package status

This package started as a PoC. Upon changing this to a package, a few expected features are missing:

  • Documentation/Comments
  • Tests
  • es6 build

Examples

Firstly, add parcel globally to run the examples; yarn global add parcel-bundler

  • Basic example: parcel examples/basic/index.html
  • Wizard/Monad example: parcel examples/wizard/index.html
  • (Todo) Dynamic inputs example

Do let us know if there are use cases you'd like to see examples of.

Package Sidebar

Install

npm i fp-ts-form

Weekly Downloads

2

Version

0.0.4

License

MIT

Unpacked Size

15.1 kB

Total Files

18

Last publish

Collaborators

  • maxwillmott