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

suqin-exmail

v0.0.2

Published

A module for connecting Dingtalk

Readme

suqin-exmail

suqin的一款插件, 使其支持腾讯企业邮箱(Exmail)账号体系的通讯录操作.

主要功能

  • department的增删改查操作, 该资源在API中使用group进行描述
  • user的增删改查操作, 该资源在API中使用member进行描述

API列表

read API

  • 查询成员列表readMembers
  • 查询成员详情readMember
  • 查询群组列表readGroups
  • 查询群组详情readGroup

write API

  • 创建成员createMember
  • 删除成员deleteMember
  • 修改成员updateMember
  • 创建群组createGroup
  • 删除群组deleteGroup
  • 修改群组updateGroup

使用方法

const Suqin = require('suqin');
const Exmail = require('suqin-exmail');

const directories = new Suqin();

const opts = {
  // 必选
  corpId: 'your corpId',
  corpSecret: 'your addressListSecret',
  // 可选
  baseUrl: 'https://api.exmail.qq.com',
  name: 'Exmail',
};

const ex = new Exmail(opts);

directories.use(ex);

// member为您要创建的成员, 其数据结构请参考腾讯企业邮箱平台文档
directories.createMember('Exmail', member)
  .then(res => res.data, err => err.data);

directories.readMembers('Exmail')
  .then(res => res.data, err => err.data);

注意事项

  • 全部代码使用ES6进行编写, 您可能需要babel--harmony模式的协助
  • 执行测试时请先行配置以下环境变量
    • EXMAIL_CORP_ID 腾讯企业邮箱授予的组织ID
    • EXMAIL_ADDRESS_LIST_SECRET 腾讯企业邮箱授予的组织秘钥

参考资料