
Security News
vlt Launches "reproduce": A New Tool Challenging the Limits of Package Provenance
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
lark-config
Advanced tools
This is a tool to load configs from files
$ npm install --save lark-config
const config = new Config();
await config.load('configs');
This will load all files (.js, .json, .yaml, .yml, .node) in directory 'configs'.
Then you can easily get/check/remove a config by path:
config.get("path.to.file.foo.bar"); // nearly same as require('path/to/file').foo.bar
config.has("path.to.file.foo.bar");
config.delete("path.to.file.foo.bar");
config.set("path.to.file.foo.bar", "new-value");
If you want to switch the config by environment, use the second param as tag:
await config.load('configs', '@online');
It will use config named as foo@online
rather than foo
if exists
FAQs
lark config module
The npm package lark-config receives a total of 38 weekly downloads. As such, lark-config popularity was classified as not popular.
We found that lark-config demonstrated a not healthy version release cadence and project activity because the last version was released 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
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.