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

0.0.2 • Public • Published

Formaster

WIP: this is not a real package. For now, I'm just exploring the problem space.

I want to love native HTML forms. I really do. But the quirks of native forms don't make it so easy to love them. So I set out to build formaster to fix that. I'm aiming to acheive:

  1. Custom client-side validation
  2. Easy integration with server-side validation
  3. Stylable error messages
  4. JS callback on successful submit
  5. Disable submit button while submit is running

Design constraints:

  1. Works with vanilla JS
  2. As small as possible
  3. No components or CSS — bring your own

MVP non-goals:

  1. No integration with component libraries
  2. No server-side part

Install

npm install --save formaster

License

MIT License

Readme

Keywords

Package Sidebar

Install

npm i formaster

Weekly Downloads

0

Version

0.0.2

License

MIT

Unpacked Size

4.09 kB

Total Files

8

Last publish

Collaborators

  • thoughtspile