
Security News
npm Introduces minimumReleaseAge and Bulk OIDC Configuration
npm rolls out a package release cooldown and scalable trusted publishing updates as ecosystem adoption of install safeguards grows.
@vltpkg/config
Advanced tools
Config utilities for the vlt client.
These are config utilities used by the vlt cli.
import { get, set, edit, list, del } from '@vltpkg/config'
// Assuming you have a LoadedConfig instance from @vltpkg/cli-sdk
// const conf = await loadConfig()
// Get a config value by key
const colorValue = await get(conf) // requires conf.positionals[1] to be the key name
// Supports dot notation for nested properties in record fields
// e.g., conf.positionals = ['get', 'registry.npmjs.org']
// Set config values using key=value pairs
// conf.positionals should contain pairs like ['set', 'color=auto', 'timeout=5000']
await set(conf)
// Creates config file if it doesn't exist when called with no pairs
// Supports dot notation for record fields: 'registry.npmjs.org=https://registry.npmjs.org/'
// Edit the config file with the configured editor
await edit(conf) // opens conf.get('config') file in conf.get('editor')
// List all current config values as key=value pairs
const allConfig = list(conf) // returns array of 'key=value' strings
// Delete config keys
// conf.positionals should contain keys to delete: ['del', 'color', 'timeout']
await del(conf) // removes specified keys from conf.get('config') file
get(conf: LoadedConfig)string | number | boolean | string[] | Record<string, string> | undefinedconf.positionals[1]set(conf: LoadedConfig)conf.positionalsregistry.npmjs.org=value)conf.get('config')edit(conf: LoadedConfig)conf.get('editor')spawnSync to launch the editor with the config file pathlist(conf: LoadedConfig)del(conf: LoadedConfig)conf.positionals (after the command
name)conf.get('config')FAQs
Project config logic for vltpkg
The npm package @vltpkg/config receives a total of 19 weekly downloads. As such, @vltpkg/config popularity was classified as not popular.
We found that @vltpkg/config demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 6 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
npm rolls out a package release cooldown and scalable trusted publishing updates as ecosystem adoption of install safeguards grows.

Security News
AI agents are writing more code than ever, and that's creating new supply chain risks. Feross joins the Risky Business Podcast to break down what that means for open source security.

Research
/Security News
Socket uncovered four malicious NuGet packages targeting ASP.NET apps, using a typosquatted dropper and localhost proxy to steal Identity data and backdoor apps.