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

Project Samples

Project Activity

See All Activity >

Categories

JSON

License

MIT License

Follow conf

conf Web Site

Other Useful Business Software
Run Any Workload on Compute Engine VMs Icon
Run Any Workload on Compute Engine VMs

From dev environments to AI training, choose preset or custom VMs with 1–96 vCPUs and industry-leading 99.95% uptime SLA.

Compute Engine delivers high-performance virtual machines for web apps, databases, containers, and AI workloads. Choose from general-purpose, compute-optimized, or GPU/TPU-accelerated machine types—or build custom VMs to match your exact specs. With live migration and automatic failover, your workloads stay online. New customers get $300 in free credits.
Try Compute Engine
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of conf!

Additional Project Details

Programming Language

TypeScript

Related Categories

TypeScript JSON Software

Registered

2023-10-13