
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
@qlover/corekit-bridge
Advanced tools
fe-corekit Abstraction tool bridge for real development environments
fe-corekit 实际开发环境的抽象工具桥接
@qlover/corekit-bridge 是一个用于连接 fe-corekit 核心工具和实际开发环境的桥接库。它提供了一系列实用工具和插件,简化了前端应用程序的开发流程。
npm install @qlover/corekit-bridge
或者
yarn add @qlover/corekit-bridge
用于应用程序初始化和依赖注入的引导系统:
import {
Bootstrap,
InjectIOC,
InjectEnv,
InjectGlobal
} from '@qlover/corekit-bridge';
const bootstrap = new Bootstrap(window, iocContainer, logger);
bootstrap
.use(new InjectIOC(iocManager, registers))
.use(new InjectEnv(config, process.env, 'APP_'))
.use(new InjectGlobal(globals, 'AppGlobals'))
.start();
提供依赖注入容器的标准接口:
import { IOCContainerInterface } from '@qlover/corekit-bridge';
class MyContainer implements IOCContainerInterface {
// 实现接口方法
}
一系列增强 API 请求功能的插件:
import { ApiMockPlugin, ApiCatchPlugin } from '@qlover/corekit-bridge';
const mockPlugin = new ApiMockPlugin(mockData, logger);
const catchPlugin = new ApiCatchPlugin(logger, errorCatcher);
提供一系列有用的构建和配置工具:
import tailwindRoot10px from '@qlover/corekit-bridge/tw-root10px';
// 在 tailwind.config.js 中使用
module.exports = {
theme: {
...tailwindRoot10px.themes
},
plugins: [tailwindRoot10px.plugin]
};
import viteEnvConfig from '@qlover/corekit-bridge/vite-env-config';
// 在 vite.config.js 中使用
export default {
plugins: [
viteEnvConfig({
envPrefix: 'APP_',
records: [
['APP_NAME', 'appName'],
['APP_VERSION', 'appVersion']
]
})
]
};
import viteTs2Locales from '@qlover/corekit-bridge/vite-ts-to-locales';
// 在 vite.config.js 中使用
export default {
plugins: [
viteTs2Locales({
locales: ['en', 'zh'],
options: [
{
source: './config/ErrorIdentifier.ts',
target: './locales/{{lng}}/common.json'
}
]
})
]
};
提供带颜色的控制台日志输出:
import { Logger, ColorFormatter } from '@qlover/corekit-bridge';
const logger = new Logger({
level: 'debug',
handlers: new ColorFormatter();
});
logger.debug('调试信息');
logger.info('普通信息');
ISC
FAQs
fe-corekit Abstraction tool bridge for real development environments
We found that @qlover/corekit-bridge demonstrated a healthy version release cadence and project activity because the last version was released less than 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
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.