
Security News
/Company News
Socket Is Sponsoring Composer and Packagist
Socket has joined the new Composer and Packagist sponsorship program as a launch sponsor, supporting the team that keeps PHP's package ecosystem secure.
jane-frame
Advanced tools
基于Koa构建的API框架 主要集成了文件处理 微信处理 日志处理 常用处理函数
JF 基于Koa 要求 node v7.6.0 或更高版本 ES2015 与异步的支持
$ npm i jane-frame
const JaneFrame = require('jane-frame')
const app = new JaneFrame();
app.bootstrap();
处理配置文件 在项目更目录下新建一个config.js 内容如下
const config = {
base: {
port: "8080"
},
mongo: {
uri: ""
},
wxapp: {
// 微信小程序 App ID
appid: '',
// 微信小程序 App Secret
appSecret: '',
//公众号配置
config: {},
//商户身份ID
mch_id: '',
//商户支付密钥Key
partnerKey: '',
ssl_cer: '',
ssl_key: ''
},
}
module.exports = config;
FAQs
基于Koa构建的API框架 主要集成了文件处理 微信处理 日志处理 常用处理函数
The npm package jane-frame receives a total of 21 weekly downloads. As such, jane-frame popularity was classified as not popular.
We found that jane-frame 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
/Company News
Socket has joined the new Composer and Packagist sponsorship program as a launch sponsor, supporting the team that keeps PHP's package ecosystem secure.

Research
/Security News
Benign-looking npm packages split malicious functionality across a dependency chain that deploys a cross-platform RAT targeting Alibaba developers.

Research
/Security News
Two Joyfill npm beta releases contain an import-time implant that uses blockchain transactions to retrieve a remote-access trojan.