{"id":16484484,"url":"https://github.com/tungv/run-lua","last_synced_at":"2025-06-27T18:09:28.626Z","repository":{"id":65472833,"uuid":"128940680","full_name":"tungv/run-lua","owner":"tungv","description":"nodejs utility to run and cache lua scripts against a redis server","archived":false,"fork":false,"pushed_at":"2018-04-10T13:54:21.000Z","size":2,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-27T05:15:18.785Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tungv.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-04-10T13:51:13.000Z","updated_at":"2018-09-17T07:40:58.000Z","dependencies_parsed_at":"2023-01-25T02:25:11.030Z","dependency_job_id":null,"html_url":"https://github.com/tungv/run-lua","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tungv%2Frun-lua","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tungv%2Frun-lua/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tungv%2Frun-lua/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tungv%2Frun-lua/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tungv","download_url":"https://codeload.github.com/tungv/run-lua/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241241155,"owners_count":19932692,"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":[],"created_at":"2024-10-11T13:17:17.803Z","updated_at":"2025-02-28T21:17:02.276Z","avatar_url":"https://github.com/tungv.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# run-lua\n\n```js\nconst redis = require('redis');\nconst runLua = require('run-lua');\n\nconst redisClient = redis.createClient();\nconst lua = `\n  local counter = redis.call('INCR', KEYS[1]);\n  return counter;\n`;\n\nconst counter = await runLua(redisClient, lua, {\n  keys: ['my_counter'],\n  argv: [],\n});\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftungv%2Frun-lua","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftungv%2Frun-lua","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftungv%2Frun-lua/lists"}