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 🙏

© 2025 – Pkg Stats / Ryan Hefner

@tjnhpro/n8n-nodes-lark

v0.1.2

Published

Typed n8n community nodes for Feishu/Lark. The goal is to expose common Lark admin and automation scenarios (chat messages, approvals, calendars, user sync) directly inside n8n while keeping the package compliant with the official n8n node review guidelin

Readme

n8n Lark Nodes

Typed n8n community nodes for Feishu/Lark. The goal is to expose common Lark admin and automation scenarios (chat messages, approvals, calendars, user sync) directly inside n8n while keeping the package compliant with the official n8n node review guidelines.

Status

  • Tooling in place (@n8n/node-cli, strict TypeScript, GitHub Actions)
  • Node/credential implementations in progress (existing GitHub/Example scaffolds removed)
  • Target APIs: Tenant/ISV tokens, Messaging, Bitable, Approval, Calendar

Features

  • Lark API Node
    • Authenticate: Exchange app credentials for tenant access tokens directly from the editor.
    • Wiki: Create nodes, fetch node metadata, and list children inside a wiki space.
    • Base (Bitable):
      • App operations: create, copy, fetch, and rename Base apps.
      • Table operations: create/batch create tables, rename, list, delete, and batch delete.
      • Record operations: single create/update/search/delete plus batch create/update/get/delete with pagination controls.
  • Shared BaseService enforces the Lark base URL and authorization header so downstream services stay consistent.
  • LarkBaseService and WikiService expose typed helpers so node execution logic can stay focused on mapping inputs/outputs.

Development Workflow

  1. Install deps: npm install
  2. Add credentials to credentials/ and nodes under nodes/Lark*
  3. Register builds in package.json -> n8n.credentials and n8n.nodes
  4. Run npm run dev to load the node(s) inside a local n8n instance for manual testing
  5. Run npm run lint && npm run build before committing

Repository Structure

credentials/   # Lark API credentials (OAuth2, app tokens, tenant access)
nodes/         # Declarative node implementations grouped by resource
dist/          # Generated output from `npm run build`
openspec/      # Project/process specs used for planning changes

Shared Services

  • services/BaseService.ts centralizes the Lark base URL (https://open.larksuite.com) and automatically injects the tenant_access_token (returned by the Authenticate node) as a Bearer header for every request.
  • services/WikiService.ts extends BaseService and exposes helpers such as:
    • createNode(spaceId, payload)POST /open-apis/wiki/v2/spaces/:space_id/nodes
    • getNodeInfo(nodeToken)GET /open-apis/wiki/v2/spaces/get_node?token=<nodeToken>
    • listChildNodes(spaceId, query)GET /open-apis/wiki/v2/spaces/:space_id/nodes Each helper returns the raw Lark response body so nodes can adapt quickly.
  • Import from services/index.ts to keep consumer modules decoupled from file layout changes.

NPM Scripts

| Script | Purpose | | --- | --- | | npm run dev | Start n8n-node dev with hot reload to test nodes locally | | npm run lint / npm run lint:fix | Run ESLint via @n8n/node-cli to enforce style/quality | | npm run build / npm run build:watch | Emit compiled JS into dist/ | | npm run release | Release workflow powered by n8n-node release / release-it |

Contribution Checklist

  • Keep TypeScript strict options enabled; do not add runtime deps unless essential.
  • Follow Prettier config (tabs, 100 char width, single quotes); run lint before pushing.
  • Document each resource/operation in node descriptions; use Lark terminology in UI labels.
  • Update this README and openspec/project.md when adding significant capabilities.

License

MIT