
Product
Introducing Repository Access Permissions and Custom Roles
Socket now supports Custom Roles and Repository Access Permissions so organizations can control who can access specific repositories and actions.
一个受sailsjs启发的新Web框架,但是追求小而美,而又敏捷,灵活,高效。以完成MVC的C端为重点,插件化的Web框架。
423652352
国外: https://forum.webfullstack.me/
详细见文章:
一个支持async的超高性能的基于node.js的Web业务框架

vig是一个Web业务框架,本身并不想处理Web协议层面的事情。
但是因为协议与上层的业务是紧密关联的,所以未来可能会参与到协议层框架的开发上去。
原因很简单,虽然vig相对于express的折损只有1%多点。 但是如果基于koa的也只折损1%,那么vig的性能就会大大的提高。
是一个专注于Web业务逻辑的组件化框架,主要关心:
目标是:
1、创建一个test.ts文件(推荐使用TS)
vi test.ts
2、添加如下代码
import { VHandler } from "vig";
let app = require('express')();
const handler = new VHandler();
handler.set({
prefix: '/demo',
urls: ['/', '/hello'],
routers: {
get: async (req, res, scope) => {
res.send('Hello world!');
}
}
});
handler.attach(app);
app.listen(10000, function () {
console.log('server running on http://localhost:10000');
});
3、安装包
yarn install
4、测试
npm test
vig对async/await的支持依赖于用户的开发环境本身,与vig框架无关。
但是开发者需要注意的是:
所以在使用vig框架时需要注意事件与IO回调的区别。
下面再将事件与常规的IO调用的差别说明一下。
$ npm install --save vig
$ yarn add vig
# 推荐使用1.0版本
$ npm install --save vig@next
$ yarn add vig@next
Semver不但引起了版本爆炸,也让版本失去了意义。
所以vig采用 · Effective Versioning · 的版本管理方式。
由于semver的错误,npm5之后软件的版本已经固定下来,不再执行semver里自动升级的方式。
对于非npm5的用户来说,仍存在严重的包版自动升级风险,因此vig推荐所有人使用yarn来解决你的版本不一致的问题。
https://github.com/calidion/vig
Apache-2.0 © calidion
FAQs
a component based web framework, focus on web basic logics
The npm package vig receives a total of 68 weekly downloads. As such, vig popularity was classified as not popular.
We found that vig 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.

Product
Socket now supports Custom Roles and Repository Access Permissions so organizations can control who can access specific repositories and actions.

Product
Socket MCP now lets AI assistants review org alerts, investigate threats using the Socket threat feed, and inspect package files in addition to dependency scoring.

Product
Socket Firewall blocks malicious VS Code and Open VSX extensions before install, protecting developers from compromised editor marketplaces.