Package Information
Released: 5 mo ago
Downloads: 7 weekly / 290 monthly
Latest Version: 1.0.4
Author: mqq
Available Nodes
Documentation generating…
Documentation
n8n-nodes-china-holiday
n8n community node for querying Chinese public holidays and workday adjustments via timor.tech API.
Features
| Feature | Description |
|---|---|
| Get Year Holidays | Query all public holidays and workday adjustments for a given year |
Installation
Via n8n UI (recommended)
- Open n8n, go to Settings → Community nodes
- Click Install a community node
- Enter
n8n-nodes-china-holiday, click Install - Restart n8n
Via npm
npm install n8n-nodes-china-holiday
Usage
- Add a China Holiday node to your workflow
- Select Resource:
Holiday - Select Operation:
Get Year Holidays - Set Year (defaults to current year)
- Execute — the node returns the full holiday data for that year
Response Format
{
"code": 0,
"holiday": {
"01-01": {
"holiday": true,
"name": "元旦",
"wage": 3,
"date": "2026-01-01",
"rest": 29
},
"10-01": {
"holiday": true,
"name": "国庆节",
"wage": 3,
"date": "2026-10-01",
"rest": 3
}
}
}
| Field | Type | Description |
|---|---|---|
holiday |
boolean | true = holiday, false = workday adjustment |
name |
string | Holiday name |
wage |
number | 1 = makeup workday, 2 = non-core holiday, 3 = core holiday |
date |
string | Full date (YYYY-MM-DD) |
rest |
number | Days from today |
after |
boolean | (optional) Whether this is a post-holiday makeup day |
target |
string | (optional) Which holiday this makeup day belongs to |
Compatibility
- n8n >= 1.0.0
- Node.js >= 18
- No credentials required (public API)