
Company News
Socket Partners with Replit to Block Malicious Packages in AI-Powered Development
Replit is integrating Socket Firewall into its AI-powered development experience to help protect builders from malicious open source packages.
#使用说明
ACConfigServer客户端
##安装
npm install [--save] acconfig
##使用
var AcConfig = require('acconfig');
var acConfig = new AcConfig({
version:'1.0.1', //版本号
url:'http://config.domain.com/apps/config', //配置服务器地址
env:'test', //配置环境,'local'读取本地配置
appName:'TestApp', //应用名称
appKey:'testAppSecretKey' //应用key
});
var testAppConfig = null;
//方法一:
acConfig.loadConfigs(function(err, config){
if(!err){
//可以在loadConfigs的回调中直接获取配置
testAppConfig = config;
}
});
//方法二:
acConfig.loadConfigs();
//如果已经调用过loadConfigs(),可以直接按以下方法使用
testAppConfig = acconfig.configs;
如果env为local,将从本地cwd目录下的的config/config.json 读取配置。
FAQs
config client
We found that acconfig 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.

Company News
Replit is integrating Socket Firewall into its AI-powered development experience to help protect builders from malicious open source packages.

Security News
npm confirmed a tooling bug incorrectly marked several one-character packages as security holders and said it was working on a rollback.

Research
/Security News
Newer packages in this compromise use native extensions and .pth loaders to execute JavaScript stealers in developer environments.