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

im-cppcc-pc

v0.4.1

Published

此项目打包成库,使用时,像引入静态资源那样引入,并且,需要配合vue.js使用

Readme

IM使用

此项目打包成库,使用时,像引入静态资源那样引入,并且,需要配合vue.js使用

项目描述

PC端政协IM

项目结构描述

  • assets 公用资源
  • components 公用组件
  • mixins 混入
  • plugins 三方插件 例如地图 语音等
  • router 路由
  • services axios 公用配置及接口
  • store 仓库
  • styles 样式文件
  • utils 公用配置
  • views 页面视图

目录结构

| 目录名称 | 说明 | | ---------- | ----------------------- | | assets | 资源相关 | | components | 公共组件 | | IM | IM部分源码 | | plugins | 插件相关 | | mixins | 混入 | | router | 页面路由配置 | | services | 全局axios配置,接口配置 | | store | vuex全局数据 | | styles | 全局样式配置 | | utils | 全局工具类 | | views | 所有页面 |

项目启动

npm run serve

打包

npm run build

打包库 "vue-cli-service build --target lib --name im src/App.vue"

使用方法可以查看 im.umd/demo.html

这种方法不会把baseurl.js的文件打包出来,需要自己添加, 且, 在引用im.umd.js 文件之前添加

window.$baseUrl

打包组件

1、手动修改package.json至一个新版本,如:"version": "0.3.9"
2、建议删除package-lock.json文件、node_module文件夹 重新npm i
3、运行npm run build-bundle
4、cmd打开项目
5、npm whoami确认npm连接状态
6、npm publish --access public将组件发布到npm

Customize configuration

See Configuration Reference.

IM 地址

浏览器通知Web Notifications