
Security News
OpenClaw Skill Marketplace Emerges as Active Malware Vector
Security researchers report widespread abuse of OpenClaw skills to deliver info-stealing malware, exposing a new supply chain risk as agent ecosystems scale.
simple-const
Advanced tools
npm安装
$ npm install simple-const
或者使用yarn
$ yarn add simple-const
import constant, {parse} from 'simple-const'
//直接给constant赋值
constant.const_name = 'const_value';
//取值
console.log(constant.const_name); // const_value
// 不可以重复赋值
constant.const_name = 'new value'; // throw Error 'duplicate assignment'
// 不可以delete
delete constant.const_name; // false
// 通过defineProperty或者defineProperties修改不生效
Object.defineProperty(constant, 'const_name', {
value: 'new value'
});
console.log(constant.const_name); // const_value
// 通过parse解析键值对常量
parse({
new_const: 'new value'
});
console.log(constant.new_const); // new value
FAQs
The npm package simple-const receives a total of 4 weekly downloads. As such, simple-const popularity was classified as not popular.
We found that simple-const 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
Security researchers report widespread abuse of OpenClaw skills to deliver info-stealing malware, exposing a new supply chain risk as agent ecosystems scale.

Security News
Claude Opus 4.6 has uncovered more than 500 open source vulnerabilities, raising new considerations for disclosure, triage, and patching at scale.

Research
/Security News
Malicious dYdX client packages were published to npm and PyPI after a maintainer compromise, enabling wallet credential theft and remote code execution.