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

mixin-log-cli

v0.0.10

Published

``` npm install -g mixin-log-cli ``` ### 2. 参数介绍 | 参数 | 是否必须 | 含义 | | - | ---- | ----------------- | | -f | 是 | `filepath`:要监听的文件路径 | | -t | 否 | `token`: webhook 的 token | | -k | 否 | `keystore`:keystore的json格式的文件路径 | | -r | 否 | `recipient_id`:获取 log 的 us

Downloads

24

Readme

1. 安装

npm install -g mixin-log-cli

2. 参数介绍

| 参数 | 是否必须 | 含义 | | - | ---- | ----------------- | | -f | 是 | filepath:要监听的文件路径 | | -t | 否 | token: webhook 的 token | | -k | 否 | keystore:keystore的json格式的文件路径 | | -r | 否 | recipient_id:获取 log 的 user_id | | -w | 否 | keyword:要监听的关键词,以 , 隔开 | | -s | 否 | filesize:监听文件大小(单位为 KB) | | -i | 否 | interval:log的时间间隔只对监听文件大小生效(单位为分钟,默认60) |

注意:

  1. -t-k 至少得指定一个。
  2. 如果指定 -k ,则必须指定 -r
  3. -w-s 至少得指定一个。

3. 使用

举例,文件目录如下:

--| log
-----| err.log
-----| out.log
--| src
-----| ...
--| config
-----| keystore.json
--- ...

执行如下命令

  1. 只指定 token 。获取 token 方法,请添加机器人 7000000012 获取
mixin-log-cli -f ./log/err.log -t jeeQLRBBBjutOGas4al2OYXumcVpQMomG544c2rZmdvzbjql6EK1WKY5EdrLNv0e -w server,error
  1. 只指定 keystore 和 receipient_id
mixin-log-cli -f ./log/err.log -k ./config/keystore.json -r e8e8cd79-cd40-4796-8c54-3a13cfe50115  -w server,error
  1. 也可以同时指定。会分别发送。