
Company News
Socket Named Top Sales Organization by RepVue
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.
@cto.ai/ops-local-config
Advanced tools
cto.ai library for managing local configuration settings
Creates, writes, reads and removes a config.json file from a specified directory.
This is a native ESM module.
localConfig(opts) => instanceOptions:
dir (string) Required - the configuration directory to store a config.json file inname (string) Optional - an alternative name for config.json (without the extension)instance.read() => Promise => configRead and parse contents of the config.json file into an object.
instance.write(config) => Promise => configSerialize and write a configuration object to the config.json file.
instance.clear() => Promise => undefinedRemoves the config.json file.
Test:
npm test
Visual coverage report (run after test):
npm run cov
Lint:
npm run lint
Autoformat:
npm run lint -- --fix
For mainline releases:
npm version <major|minor|patch>
git push --follow-tags
For prereleases:
npm version prerelease
git push --follow-tags
MIT
FAQs
cto.ai library for managing local configuration settings
We found that @cto.ai/ops-local-config demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 10 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Company News
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.

Security News
NIST will stop enriching most CVEs under a new risk-based model, narrowing the NVD's scope as vulnerability submissions continue to surge.

Company News
/Security News
Socket is an initial recipient of OpenAI's Cybersecurity Grant Program, which commits $10M in API credits to defenders securing open source software.