{"id":18420837,"url":"https://github.com/candy-line/node-red-contrib-cache","last_synced_at":"2025-04-13T11:14:16.012Z","repository":{"id":13381882,"uuid":"74272047","full_name":"CANDY-LINE/node-red-contrib-cache","owner":"CANDY-LINE","description":"Node-RED nodes for memory cache","archived":false,"fork":false,"pushed_at":"2022-12-08T05:40:51.000Z","size":345,"stargazers_count":5,"open_issues_count":6,"forks_count":6,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-13T11:14:09.885Z","etag":null,"topics":["cache-storage","node-red"],"latest_commit_sha":null,"homepage":null,"language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/CANDY-LINE.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-11-20T12:19:10.000Z","updated_at":"2020-07-20T08:50:20.000Z","dependencies_parsed_at":"2023-01-13T17:26:50.947Z","dependency_job_id":null,"html_url":"https://github.com/CANDY-LINE/node-red-contrib-cache","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CANDY-LINE%2Fnode-red-contrib-cache","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CANDY-LINE%2Fnode-red-contrib-cache/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CANDY-LINE%2Fnode-red-contrib-cache/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CANDY-LINE%2Fnode-red-contrib-cache/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CANDY-LINE","download_url":"https://codeload.github.com/CANDY-LINE/node-red-contrib-cache/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248703202,"owners_count":21148118,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cache-storage","node-red"],"created_at":"2024-11-06T04:23:13.069Z","updated_at":"2025-04-13T11:14:15.992Z","avatar_url":"https://github.com/CANDY-LINE.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"Memory cache Node-RED nodes\n===\n\n[![GitHub release](https://img.shields.io/github/release/CANDY-LINE/node-red-contrib-cache.svg)](https://github.com/CANDY-LINE/node-red-contrib-cache/releases/latest)\n[![master Build Status](https://travis-ci.org/CANDY-LINE/node-red-contrib-cache.svg?branch=master)](https://travis-ci.org/CANDY-LINE/node-red-contrib-cache/)\n[![License MIT](https://img.shields.io/github/license/CANDY-LINE/node-red-contrib-cache.svg)](http://opensource.org/licenses/MIT)\n\nMemcached-like memory cache Node-RED nodes. You can set/get values and provide them TTL if necessary.\n\nThere are 3 nodes in this project.\n\n1. `Cache` configuration node ... Memory cache instance. Each configuration node is isolated from other `Cache` nodes. Default TTL is undefined (never expired). Default check period is undefined (never checked).\n1. `Cache in` node ... Used for retrieving a stored value\n1. `Cache out` node ... Used for storing a key-value pair. You can set TTL (in seconds) as well as key-value pair by providing TTL property.\n\nThe cache behavior is fully depending on [node-cache](https://www.npmjs.com/package/node-cache) library. But the project doesn't support full features of the library for making the nodes simpler.\n\n### Installation\n\n```\ncd ~/.node-red\nnpm install --production node-red-contrib-cache\n```\n\n### Example flow\n\nYou can import an example from the menu (`Import \u003e Examples \u003e cache \u003e Cache Example`) on the editor.\n\n# Revision History\n* 2.0.2-2.0.3\n    - Fix JSON format error\n* 2.0.1\n    - Revise Default TTL description on the node help content and README as the node immediately clears its cache content when Default TTL is 0\n* 2.0.0\n    - Add a new feature to route a message object to another port on a cache miss, disabled by default (#3)\n    - Introduce a new property 'dump' to dump all entries in the cache (#4)\n* 1.1.0\n    - Fix #2\n    - Move the example flow to Import menu\n* 1.0.4\n    - Fix labels\n* 1.0.3\n    - Emit `null` when the retrieved value is `null`, `undefined` or `''(empty string)`\n* 1.0.2\n    - Remove redundant dependency\n* 1.0.1\n    - Fix an issue where the wrong TTL value can be used on storing a value when there’s no valid TTL property in the msg object\n* 1.0.0\n    - Initial release\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcandy-line%2Fnode-red-contrib-cache","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcandy-line%2Fnode-red-contrib-cache","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcandy-line%2Fnode-red-contrib-cache/lists"}