{"id":45590,"library":"node-redis-scripty","title":"node-redis-scripty","description":"This package is deprecated and unmaintained. It provided a Redis script manager for Node.js, allowing loading and caching of Lua scripts using SHA1 digests with an LRU cache, and automatic detection of script cache flushes. The current stable version is 0.0.6, which was the last release. The project has been renamed to node-redis-script and is no longer supported. Users should migrate to the new package.","status":"deprecated","version":"0.0.6","language":"javascript","source_language":"en","source_url":"https://github.com/thedeveloper/scripty","tags":["javascript","redis","script","node.js","manager"],"install":[{"cmd":"npm install node-redis-scripty","lang":"bash","label":"npm"},{"cmd":"yarn add node-redis-scripty","lang":"bash","label":"yarn"},{"cmd":"pnpm add node-redis-scripty","lang":"bash","label":"pnpm"}],"dependencies":[{"reason":"Required peer dependency to connect to Redis and execute scripts.","package":"redis","optional":false}],"imports":[{"note":"Package does not support ES modules; use CommonJS require.","wrong":"import Scripty from 'node-redis-scripty';","symbol":"Scripty","correct":"var Scripty = require('node-redis-scripty');"}],"quickstart":{"code":"var redis = require('redis').createClient();\nvar Scripty = require('node-redis-scripty');\n\nvar src = 'return KEYS[1]';\nvar scripty = new Scripty(redis);\nscripty.loadScript('blank', src, function(err, script) {\n  script.run(1, 'hi', function(err, result) {\n    if (err) return;\n    // Should print 'hi'\n    console.log(result);\n  });\n});","lang":"javascript","description":"Shows how to create a Scripty instance, load a Lua script, and run it with arguments."},"warnings":[{"fix":"Migrate to https://github.com/TheDeveloper/node-redis-script","message":"This package is deprecated and will no longer receive updates. Use node-redis-script instead.","severity":"deprecated","affected_versions":">=0.0.0"},{"fix":"Use node-redis v0.10.x or verify compatibility.","message":"Scripty expects node-redis compatible with v0.10. Newer versions of node-redis may not work correctly.","severity":"breaking","affected_versions":">=0.0.0"},{"fix":"No fix; design limitation.","message":"Scripty uses an LRU cache local to the process; if multiple processes share the same Redis, each process caches separately.","severity":"gotcha","affected_versions":">=0.0.0"}],"env_vars":null,"search_vec":"'0.0.6':45 'allow':19 'automat':34 'cach':22,32,38 'current':41 'deprec':8 'detect':35 'digest':28 'flush':39 'javascript':73 'last':49 'load':20 'longer':64 'lru':31 'lua':24 'manag':16,77 'migrat':68 'new':71 'node':2,58 'node-redis-script':57 'node-redis-scripti':1 'node.js':18,76 'packag':6,72 'project':52 'provid':12 'redi':3,14,59,74 'releas':50 'renam':55 'script':15,25,37,60,75 'scripti':4 'sha1':27 'stabl':42 'support':65 'unmaintain':10 'use':26 'user':66 'version':43","created_at":"2026-06-07T12:55:45.747955+00:00","updated_at":"2026-06-07T12:55:45.747955+00:00","problems":[{"fix":"Install using npm install node-redis-scripty (note: deprecated) or switch to node-redis-script.","cause":"Package is deprecated and may not be installed; also, mistyping the package name.","error":"Cannot find module 'node-redis-scripty'"},{"fix":"Use require('node-redis-scripty') instead of import.","cause":"Using ES module import syntax instead of CommonJS require.","error":"Scripty is not a constructor"}],"ecosystem":"npm","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/thedeveloper/scripty","github":"https://github.com/thedeveloper/scripty","docs":null,"changelog":null,"pypi":null,"npm":"node-redis-scripty","openapi_spec":null,"status_page":null,"smithery":null,"categories":["database"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-07","next_check":"2026-09-05","install_tag":null}}