
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.
multi-profile-store
Advanced tools
Manage multiple corestores easily in a multi profile setup
npm install multi-profile-store
Note that all io is sync for simplicity.
const MultiProfileStore = require('multi-profile-store')
// open one
const p = MultiProfileStore.open('./profiles')
// if you might have made a single corestore first and want to move to this setup, use migrate
const p = MultiProfileStore.migrate('./profiles')
// active profile, ie { id, name, storage } or null
p.active()
// list all profiles
p.list()
// gc removed profiles, optionally pass a delay to gc only profiles removed after that delay (relative)
p.gc({ delay: 0 })
// remove a profile, moves it to gc list, not removed until gc is run above
p.remove({ id })
// update to be active or not
p.update({ id, active: true })
// create a new profile, optionally pass a name, returns { id, name, storage }
p.create({ name: 'test' })
Apache-2.0
FAQs
Manage multiple corestores easily in a multi profile setup
The npm package multi-profile-store receives a total of 584 weekly downloads. As such, multi-profile-store popularity was classified as not popular.
We found that multi-profile-store demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer 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.