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

whistle.vuedebug

v0.0.5

Published

vue debug whistle.plugin

Downloads

1

Readme

调试插件

把本地node模块link到全局目录:

mac node 模块安装路径:/usr/local/lib/node_modules

rules规则由whistle配置

$ npm link
或 sudo npm link

# 开启whistle的调试模式
$ w2 run -p 8888

这样whistle会自动加载改插件,如果插件有代码更新,需要触发修改package.json这个文件,比如加个空格,或者直接加个字段,每次修改下这个字段,whistle会检查package.json是否有更改,如果更改的话会自动重启。

卸载本地插件:

npm unlink
# 或 sudo npm unlink

# 如果npm link不是在模块所在根目录执行,可以采用下面这种方式卸载本地开发的全局模块
npm unlink whistle.xxx -g
# 或 sudo npm unlink whistle.xxx -g

安装插件

同安装全局的node模块,只需直接通过npm安装,需要安装到全局

npm install -g whistle.protocol
# 或
xnpm install -g whistle.protocol
# 或
xnpm install -g @org/whistle.protocol

发布插件

同发布正常的node模块,模块编写完毕,可以通过以下几种方式发布:

公共的node模块,直接上传到npm仓库:

 # 登陆npm login后,在模块的根目录(package.json所在目录)执行
 npm publish
自建的npm仓库,有些公司会自建自己的仓库
 xnpm publish