All you have to care about is what to persist. This module will handle all the dull details like where and how. It does not support multiple processes writing to the same store. I initially made this tool to let command-line tools persist some data.
Features
- Changes are written to disk atomically, so if the process crashes during a write, it will not corrupt the existing config
- JSON Schema to validate your config data
- Under the hood, the JSON Schema validator ajv is used to validate your config
- 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
- You can use migrations to perform operations to the store whenever a project version is upgraded
- The serialize and deserialize options can be used to customize the format of the config file
Categories
JSONLicense
MIT LicenseFollow conf
Other Useful Business Software
$300 Free Credits for Your Google Cloud Projects
Launch your next project with $300 in free Google Cloud credits—no strings attached. Test, build, and deploy without risk. Use your credits across the entire Google Cloud platform to find what works best for your needs. After your credits are used, continue with always-free tier services. Only pay when you're ready to scale. Sign up in minutes and start exploring.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of conf!