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

@proteus-vue/built-in-components

v0.1.0

Published

Proteus 框架内置组件(以微信小程序内置组件为基准):view/text/button/input/image/scroll-view/textarea/switch/slider/icon/progress/navigator/picker 的跨端组件本体 + install + MpComponentSchema 契约对照——与扩展组件(@proteus-vue/components,p-* 生态组件)区分

Readme

@proteus-vue/built-in-components

Proteus 框架内置组件——以微信小程序内置组件为基准的跨端组件本体。

与扩展组件的区分(★拆包动机)

| | 内置组件(本包) | 扩展组件(@proteus-vue/components) | |---|---|---| | 基准 | 微信小程序内置组件(view/text/button/…) | 生态/业务 p-* 组件 | | 控制方 | 框架(与编译管线/模板语义对齐) | 用户/生态 | | 端实现 | Web:本包 Vue 实现(proteus-*);Skyline:原生(usingComponents 自动解析);App:v0.6 | 应用侧组件 | | 类型契约 | MpComponentSchema@proteus-vue/types/mp) | defineProps 自行声明 |

内容

  • 13 个微信内置组件的 Vue 实现view / text / button / input / image / scroll-view / textarea / switch / slider / icon / progress / navigator / pickerWebView/WebButton/…)
  • installinstallBuiltInComponents(app) 注册 proteus-* 全局组件(Vue 编译器只 resolve 带连字符标签,故不能注册单字 view
  • 类型global-components.ts(GlobalComponents 声明)+ schemas.ts(与 MpComponentSchema 对照,防漂移)
  • 开放能力open-type 降级事件(share/contact/… Web 端自定义处理)

使用

import { installBuiltInComponents } from '@proteus-vue/built-in-components'
import '@proteus-vue/built-in-components/style.css'

installBuiltInComponents(app)
// 模板里写小程序语义标签(Web 端映射 proteus-*;MP 端编译为原生标签)

通常经 @proteus-vue/webinstallWebPlatform(本包 + wx API 模拟层聚合)安装。