Vanilla JS library for tracking state of browser form controls
Price: Free / Donations
Using this state (i.e.: via CSS class names added or removed from controls and their associated
<label> elements), you can provide visual feedback regarding which controls have changed and which have not. Of course, it will detect if an element is first changed and then changed back to its initial value. Additionally, form-change-tracker automatically manages disabling or enabling a reset button, if there is one in the form. Finally, you can define a callback function to trigger arbitrary actions.
This library is probably not what you need in a project where you already are using some SPA framework (React, Angular, Vue or the like), but is a nice addition for “classical” mainly server-driven applications.
You can read more on installation and usage on npm.