{"library":"node-red-contrib-uuid","title":"Node-RED UUID Generator","description":"node-red-contrib-uuid is a Node-RED node designed for the simple and fast generation of RFC4122 compliant Universally Unique Identifiers (UUIDs) within Node-RED flows. It leverages the robust `uuid` npm package internally to ensure standard-compliant and cryptographically strong UUIDs. As of version 0.0.4-rc-1, it is in a release candidate stage, indicating active development and refinement. Node-RED contrib nodes typically follow an independent release cadence, often tied to feature enhancements or updates in their underlying dependencies like the `uuid` library. Its primary differentiator is providing a drag-and-drop solution for UUID generation directly within the Node-RED visual programming environment, abstracting the complexities of the underlying `uuid` library for flow developers.","language":"javascript","status":"active","last_verified":"Tue Apr 21","install":{"commands":["npm install node-red-contrib-uuid"],"cli":null},"imports":["import { v4 as uuidv4 } from 'uuid';","import { v1 as uuidv1 } from 'uuid';","import { randomUUID } from 'node:crypto';"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"[{\"id\":\"435a2d67.123456\",\"type\":\"inject\",\"z\":\"a1b2c3d4.567890\",\"name\":\"Trigger UUID\",\"props\":[{\"p\":\"payload\"}],\"repeat\":\"\",\"crontab\":\"\",\"once\":false,\"onceDelay\":0.1,\"topic\":\"\",\"payload\":\"\",\"payloadType\":\"date\",\"x\":140,\"y\":100,\"wires\":[[\"e8f9g0h1.234567\"]]},{\"id\":\"e8f9g0h1.234567\",\"type\":\"uuid\",\"z\":\"a1b2c3d4.567890\",\"name\":\"Generate UUID\",\"version\":\"v4\",\"outputProperty\":\"payload\",\"x\":340,\"y\":100,\"wires\":[[\"210fe3dc.987654\"]]},{\"id\":\"210fe3dc.987654\",\"type\":\"debug\",\"z\":\"a1b2c3d4.567890\",\"name\":\"Show UUID\",\"active\":true,\"tosidebar\":true,\"console\":false,\"tostatus\":false,\"complete\":\"payload\",\"targetType\":\"msg\",\"statusVal\":\"\",\"statusType\":\"auto\",\"x\":540,\"y\":100,\"wires\":[]}]","lang":"json","description":"This Node-RED flow demonstrates basic UUID generation. It uses an Inject node to trigger the UUID node, which then generates a Version 4 UUID and outputs it to the debug sidebar.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}