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

operate-jq

v1.1.0

Published

> this is a jquery project

Readme

camel_project dashboard

this is a jquery + bootstrap + gulp project

开发环境

# 安装依赖(构建工具的)
npm install
# 安装构建工具
npm i -g gulp
# 编译代码
gulp

# 本地前端服务,建议用nginx,可以重写static的路径,使得访问路径仍然可以用static(其实是devstatic)
# 本地前端服务,需改变src/js/common/common.js和src/js/login.js 中的serverUrl,并开启nginx。
# nginx配置见最下面
# 目的代码在 devstatic文件夹中
# 登录页面 http://localhost:8033/devstatic/login.html
# 首页http://localhost:8033/devstatic/content/userManager/driver_view.html

生成环境

编译(生成md5防止缓存)

gulp build
# 目的代码在 static文件夹中
# 登录页面 http://域名/static/login.html
# 首页 http://域名/static/content/userManager/driver_view.html

开发环境nginx配置

nginx配置

server {
        listen       8033;
        server_name  127.0.0.1 localhost;

        set $root_path 'D:/worksource/运营管理系统/web';
        root $root_path;

        error_page   500 502 503 504  /50x.html;
        location = /50x.html {
            root   html;
        }
        location / {
            rewrite '^/static/(.*)\.*' '/devstatic/$1' permanent;
            root   $root_path;
            index  index.html index.htm;
        }
        location ~ /api {
            include proxy_params;
            rewrite ^/api/(.*)$ /$1 break;
            proxy_pass https://appdrivert1.yoohoor.com:5009;

             add_header Access-Control-Allow-Origin "*";
             add_header Access-Control-Allow-Methods "POST, GET, OPTIONS, PUT, DELETE";
             add_header Access-Control-Allow-Headers "X-Requested-With";
             add_header Access-Control-Allow-Headers "content-type, accept";
        }

    }