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

esign-website-component

v0.1.0-beta.10

Published

门户网站导航栏、侧边栏、底部组件维护

Readme

esign-website-components

这是一个Vue组件库,包含e签宝网站常用的侧边栏工具组件。

功能特性

SideBar 侧边栏组件

  • 在线客服: 提供售前和售后咨询服务
  • 电话咨询: 销售热线和售后服务电话
  • 微信咨询: 扫码添加好友功能
  • 价格计算器: 价格计算工具
  • 回到顶部: 智能显示/隐藏的回到顶部按钮
    • 当页面滚动超过300px时自动显示
    • 点击后平滑滚动到页面顶部
    • 支持滚动监听和状态管理

Project setup

yarn install

Compiles and hot-reloads for development

yarn serve

Compiles and minifies for production

yarn build

Lints and fixes files

yarn lint

Customize configuration

See Configuration Reference.

rollup 相关

@rollup/plugin-commonjs 将 CommonJS 模块转换为 ES6 供 rollup 处理

@rollup/plugin-node-resolveollup 无法识别 node_modules 中的包,帮助 rollup 查找外部模块,然后导入

@rollup/plugin-babel ES6 转 ES5,让我们可以使用 ES6 新特性来编写代码,使用了 @babel/core

rollup-plugin-terser 压缩 js 代码,包括 ES6 代码压缩

@rollup/plugin-alias 引入文件时,使用一个 别名 来代替那些固定的路径

@rollup/plugin-beep

rollup-plugin-vue 编译 vue 文件, 内部就是使用了 vue-template-compiler

@rollup/plugin-inject 将一些模块定义为“全局变量”,在项目中使用时无需再写 import 语句

@rollup/plugin-multi-entry 多个入口的文件,可以打包到一个 bundle 之中

@rollup/plugin-replace 假设一个场景:你希望每次访问页面时,都能快速知道本包是何时构建的,应该怎么做

@rollup/plugin-run 为一些 node 脚本或者 node 服务订制的能力,构建后会立刻运行或启动一个服务 (我们用不到)

@rollup/plugin-strip 用于从代码中删除 debugger 语句和诸如 assert.equal 和 console.log 类似的函数。

@rollup/plugin-url js 解析引擎无法解析 .png 格式的文件。

rollup-plugin-css rollup.js 本身是不支持 css 格式的,更是不支持 scss 格式的

"element-ui": "^2.15.9",