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

wqq

v0.0.10

Published

基于webqq协议的api模块

Downloads

18

Readme

wqq

基于 http://w.qq.com v=20130916001 webqq协议 的api模块

类似的项目 qqbot, webqq-client, Webqq-Client(Perl)

基于wqq开发的一个qq命令行 qqlog

$ npm install wqq
var QQ = require('wqq')
var qq = new QQ()
qq.getVcode(qqnum, function (err, buffer) {
  // 如果需要的话 buffer为验证码图片 一般不会出现
  qq.login(qqpsw, vcode || '', function (err, nick) {
    qq.on('disconnect', function () { exit() })
    qq.on('message', function (msg) { log(msg) })
    qq.startPoll()
  })
})
// 实现"qq鹦鹉" 跟人说话 :)
qq.on('message', function (msg) {
  var method = msg.group_name ? 'sendGroupMsg' :
    msg.dicus_name ? 'sendDicusMsg' :
    msg.is_private ? 'sendBuddyMsg' : null
  if (method) {
    qq[method](msg.from_uin, msg.content, function(err, ok){})
  }
})

功能

  • 获取验证码/登录/改变状态
  • 开启/中断消息轮训
  • 识别单人/群/群匿名/讨论组消息/文件
  • 识别消息中的文本/图片/emoji
  • 识别发送者的昵称/群昵称/备注
  • 获取单人/群/讨论组资料
  • 发送单人/群/讨论组消息

待完善

  • 呈现/发送图片
  • 呈现/发送文件
  • ~~呈现qq表情语义~~(请使用qqface)

webqq即将废弃

关闭qq设备锁 才能正常登录

百度经验:手机qq设备锁怎么解除