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

@xyh1005/n8n-nodes-xid

v0.2.1

Published

n8n custom nodes for unique id generation

Readme

@xyh1005/n8n-nodes-xid

n8n自定义节点:ID生成器(支持带分隔符和不带分隔符的UUID)

项目简介

本项目为n8n工作流自动化平台开发的自定义节点,支持一键生成唯一ID(UUID),可选择带分隔符或不带分隔符格式,适用于各种唯一标识需求。

安装方法

npm install @xyh1005/n8n-nodes-xid
# 或
yarn add @xyh1005/n8n-nodes-xid

使用方法

  1. 将本包构建后的dist目录配置到n8n的自定义节点目录中,或直接通过npm/yarn安装到n8n项目。
  2. 在n8n编辑器中新建工作流,添加"ID生成器"节点。
  3. 配置参数:
    • ID格式:选择"带分隔符(36位)"或"不带分隔符(32位)"
  4. 运行节点,即可在输出中获得字段名为id的唯一标识。

参数说明

| 参数名 | 说明 | 选项/格式 | 默认值 | |----------|--------------|-----------------------------------|----------------| | ID格式 | 生成的ID格式 | 不带分隔符(32位)、带分隔符(36位) | 不带分隔符(32位) |

输出示例

{
  "id": "550e8400e29b41d4a716446655440000"
}

{
  "id": "550e8400-e29b-41d4-a716-446655440000"
}

本地开发与构建

yarn install
yarn build

发布

npm publish --access public

版权信息

MIT License
Copyright (c) 2024 xuyuhang