
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.
@sumor/app
Advanced tools
轻呈云应用框架
通过 npm 安装:
$ npm install --save @sumor/app
ES6方式
//例如要访问的程序路径为level1.level2.level3
import {level1} from '@sumor/app';
level1.level2.level3('parameter1');
Node.js CommonJS方式
//例如要访问的程序路径为level1.level2.level3
const {level1} = require('@sumor/app');
level1.level2.level3('parameter1');
const {App} = require("@sumor/app");
const app = new App();
app.handle({
_meta:{
program:{
"say.hello.world":{
parameters:{
p1:{
name:"参数1",
type:"string",
length:3
}
}
}
}
},
say:{
hello:{
world:(parameters,context)=>{
return parameters.p1;
}
}
}
});
app.serve();
// 然后您就可以通过运行提示访问您的应用了
在开发阶段,如您无法提供有效证书,将会自动生成临时证书。 临时证书是不被浏览器信任的,需要按照以下步骤完成证书启用,以达到调试目的。 请注意,该方案仅使用于本地测试环境,请勿用于正式用途
可跳过该步骤
inspect
或点击键盘F12Security
View certificate
Trust
高级
继续前往XXX(不安全)
构建轻呈云应用
类
path
应用目录FAQs
The npm package @sumor/app receives a total of 16 weekly downloads. As such, @sumor/app popularity was classified as not popular.
We found that @sumor/app 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.