npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@vlian/framework

v2.0.7

Published

Secra Framework - 一个现代化的低代码框架

Readme

@vlian/framework

Secra Framework - kernel-only runtime package

简介

@vlian/[email protected] 开始只保留 kernel 运行时能力。根入口 @vlian/framework 与子路径 @vlian/framework/kernel 都只导出 kernel API,历史上的 utilsstatelibrarycomponentsanalytics 已从当前版本移除。

安装

pnpm add @vlian/framework i18next @vlian/logger @vlian/utils

快速开始

import { getKernel, startup } from '@vlian/framework';
import { registerThemeManager } from '@vlian/framework/theme';

const kernel = await startup({}, 'app');

await registerThemeManager(kernel, {
  initial: {
    mode: 'light',
  },
});

导出范围

  • @vlian/framework
  • @vlian/framework/kernel
  • @vlian/framework/theme
  • @vlian/framework/i18n

@vlian/framework@vlian/framework/kernel 导出相同的 kernel API,包括 KernelstartupgetKernelkernelStartApp 以及相关类型。 themei18n 改为独立子路径导出,按需从 @vlian/framework/theme@vlian/framework/i18n 引入并注册到 kernel,可让消费方在 Vite 打包时获得更稳定的分包边界。

迁移说明

  • 删除所有 @vlian/framework/utils@vlian/framework/state@vlian/framework/library@vlian/framework/components@vlian/framework/analytics 的导入。
  • 旧模块如果仍有业务价值,需要迁移到应用侧或拆分为独立包维护。
  • themei18n 不再从根入口或 kernel 入口聚合导出;需要时请显式从 @vlian/framework/theme@vlian/framework/i18n 引入并注册自定义管理器。
  • 推荐围绕 kernel manager 收口日志、缓存,以及按需挂载的主题和国际化能力。

依赖要求

  • i18next: ^23.0.0 || ^24.0.0 || ^25.0.0
  • @vlian/logger: ^0.1.0
  • @vlian/utils: ^2.0.1

许可证

Apache-2.0

相关链接