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 🙏

© 2024 – Pkg Stats / Ryan Hefner

qmis

v1.0.28

Published

quanmin.tv front-end integrated solution

Downloads

10

Readme

全民直播前端集成解决方案

安装

npm i -g qmis

使用帮助

qmis -h

开发规范

关于模块id的说明:

  • 模块id=命名空间:组件路径
  • 如果是当前模块,『命名空间:』可以简写为『/』
  • 当文件与目录同名时,比如 pulbic/a/a.tpl 可以简写为 『pulbic/a』
  • {% widget %} 可以省略开头的『widget/』

示例:

  1. 支持模板中相对路径或绝对路径定位当前模块下的资源
{% require './foo/foo.js' %}
{% require '/public/foo/foo.js' %}
{% widget './bar/bar.tpl' %}
{% widget '/view/widget/bar/bar.tpl' %}
{% inherbit './layout.tpl' %}
  1. 支持短路径写法
{# 假设当前项目命名空间为 `index` #}
{% require './foo' %} 等价于 {% require './foo/foo.js' %}
{% widget './bar' %}  等价于 {% widget './bar/bar.tpl' %}
{% require 'public/dialog' %} 等价于 {% require '/public/dialog/dialog.js' %}
{% widget 'footer' %} 等价于 {% widget '/view/widget/footer/footer.tpl' %}
{% inherbit 'basic' %} 等价于 {% inherbit '/view/layout/basic/basic.tpl' %}
  1. 跨模块引用资源
{% require 'common:public/dialog' %}  =>  {% require 'common:public/dialog/dialog.js' %}
{% require 'common:public/dialog/dialog.ext.js' %}
{% widget 'common:dialog' %}  =>  {% widget 'common:widget/dialog/dialog.tpl' %}
{% inherbit 'common:basic' %}  =>  {% inherbit 'common:layout/basic/basic.tpl' %}