Simple data persistence for your Electron app or module
...For use in the renderer process only, you need to call Store.initRenderer() in the main process, or create a new Store instance (new Store()) in the main process. Changes are written to disk atomically, so if the process crashes during a write, it will not corrupt the existing config. Under the hood, the JSON Schema validator ajv is used to validate your config. We use JSON Schema draft-07 and support all validation keywords and formats. You should define your schema as an object where each key is the name of your data's property and each value is a JSON schema used to validate that property.
Schema Form was built to be extended and its easy to create your own form field types that suit your specific requirement. Much of the new development is being done in Assimilate, a standardized validator for JSON Schema to help ensure changing validators is never as painful as escaping tv4 is, as well as a new core library to allow for a more predictable upgrade from AngularJS to Angular. Schema Form is a set of AngularJS directives (and a couple of services). It can do two things to make life easier. Create a form directly from a JSON schema. ...