https://github.com/itsvinayak/node-red-contrib-dictionary
a dictionary node for node-red
https://github.com/itsvinayak/node-red-contrib-dictionary
node node-red node-red-config node-red-contrib node-red-flow nodejs
Last synced: 10 months ago
JSON representation
a dictionary node for node-red
- Host: GitHub
- URL: https://github.com/itsvinayak/node-red-contrib-dictionary
- Owner: itsvinayak
- License: mit
- Created: 2022-10-20T18:29:43.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-10-20T04:04:15.000Z (over 2 years ago)
- Last Synced: 2025-06-12T13:03:14.432Z (11 months ago)
- Topics: node, node-red, node-red-config, node-red-contrib, node-red-flow, nodejs
- Language: HTML
- Homepage: https://www.npmjs.com/package/node-red-contrib-dictionary
- Size: 104 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# node-red-contrib-dictionary [](https://github.com/itsvinayak/node-red-contrib-dictionary/actions/workflows/npm-ci.yml)
### dictionary node for node-red
A dictionary is a general-purpose data structure for storing a group of objects. It is a set of keys with a single associated value.
### Example of dictionary
```
{
"living": {
"men": "20",
"women": "10",
"children": "3"
},
"nonliving": {
"table": "6"
},
"food items": "10"
}
```
## What this node does:
this node takes a dictionary/json and allows the user to create an other dictionary, based on user keys and values ( path of objects )
**Input:**
```
{
"living": {
"men": "20",
"women": "10",
"children": "3"
},
"nonliving": {
"table": "6"
},
"food items": "10"
}
```
**Output:**
```
{
"living men": "20",
"nonliving table": "6"
}
```

### Node config :

### Output :