
Security News
Browserslist-rs Gets Major Refactor, Cutting Binary Size by Over 1MB
Browserslist-rs now uses static data to reduce binary size by over 1MB, improving memory use and performance for Rust-based frontend tools.
@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) => instance
Options:
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 => config
Read and parse contents of the config.json
file into an object.
instance.write(config) => Promise => config
Serialize and write a configuration object to the config.json
file.
instance.clear() => Promise => undefined
Removes 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
The npm package @cto.ai/ops-local-config receives a total of 2 weekly downloads. As such, @cto.ai/ops-local-config popularity was classified as not popular.
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.
Security News
Browserslist-rs now uses static data to reduce binary size by over 1MB, improving memory use and performance for Rust-based frontend tools.
Research
Security News
Eight new malicious Firefox extensions impersonate games, steal OAuth tokens, hijack sessions, and exploit browser permissions to spy on users.
Security News
The official Go SDK for the Model Context Protocol is in development, with a stable, production-ready release expected by August 2025.