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

n8n-nodes-dameng

v0.1.0

Published

n8n node for DaMeng (达梦) Database - 支持 Execute SQL、Select、Insert、Update、Delete 操作

Downloads

87

Readme

n8n-nodes-dameng

This is an n8n community node for DaMeng (达梦) Database.

DaMeng Database is a Chinese enterprise-level relational database management system. This node allows you to interact with DaMeng databases directly from your n8n workflows.

n8n is a fair-code licensed workflow automation platform.

Installation

Follow the installation guide in the n8n community nodes documentation.

npm install n8n-nodes-dameng

⚠️ Important: Node.js 18+ Compatibility

If you're using Node.js 18 or later, you need to set the following environment variable due to OpenSSL changes:

export NODE_OPTIONS=--openssl-legacy-provider

For Docker deployments, add this to your environment:

environment:
  - NODE_OPTIONS=--openssl-legacy-provider

Operations

This node supports the following operations:

| Operation | Description | |-----------|-------------| | Execute SQL | Execute a custom SQL query with optional parameters | | Select | Query data from a table with WHERE, ORDER BY, LIMIT, and OFFSET support | | Insert | Insert data into a table | | Update | Update existing data in a table | | Delete | Delete data from a table |

Credentials

To connect to a DaMeng database, you need to configure the following credentials:

| Field | Description | Default | |-------|-------------|---------| | Host | Database server address | localhost | | Port | Database port | 5236 | | User | Username | SYSDBA | | Password | Password | - | | Database/Schema | Database or schema name (optional) | - | | Connect Timeout | Connection timeout in ms | 10000 | | Pool Min | Minimum pool connections | 1 | | Pool Max | Maximum pool connections | 4 |

Usage Examples

Execute SQL

Execute a custom SQL query:

SELECT * FROM users WHERE status = ? AND created_at > ?

Parameters: active, 2024-01-01

Select

  • Table: users
  • Columns: id, name, email
  • Where: status = 'active'
  • Order By: created_at DESC
  • Limit: 10

Insert

Update

  • Table: users
  • Set Clause: status = 'inactive', updated_at = NOW()
  • Where: id = 1

Delete

  • Table: users
  • Where: status = 'deleted' AND updated_at < '2024-01-01'

Compatibility

  • DaMeng Database DM8
  • MySQL compatible syntax is supported (if enabled in your DM8 instance)
  • n8n version 0.5 or later
  • Node.js 18+ (requires NODE_OPTIONS=--openssl-legacy-provider)

Docker Usage

To use this node with n8n in Docker:

docker run -it --rm \
  --name n8n \
  -p 5678:5678 \
  -v ~/.n8n:/home/node/.n8n \
  -v /path/to/n8n-nodes-dameng:/home/node/.n8n/custom/n8n-nodes-dameng \
  -e N8N_CUSTOM_EXTENSIONS="/home/node/.n8n/custom/n8n-nodes-dameng" \
  -e NODE_OPTIONS="--openssl-legacy-provider" \
  docker.n8n.io/n8nio/n8n

Development

# Clone the repository
git clone https://github.com/your-username/n8n-nodes-dameng.git

# Install dependencies
cd n8n-nodes-dameng
npm install

# Build
npm run build

# Link for local testing
npm link
cd ~/.n8n/custom
npm link n8n-nodes-dameng

Testing

# Set environment variables
export NODE_OPTIONS=--openssl-legacy-provider
export DM_HOST=your_host
export DM_PORT=5236
export DM_USER=SYSDBA
export DM_PASSWORD=your_password

# Test connection
node test-connection.js

# Run all tests
npm test

# Run integration tests only
npm test -- --testPathPattern=integration

Resources

License

MIT