{"id":21611286,"url":"https://github.com/runnerty/executor-script","last_synced_at":"2025-06-14T23:36:01.910Z","repository":{"id":83643105,"uuid":"214865970","full_name":"runnerty/executor-script","owner":"runnerty","description":"Runnerty module: Script executor","archived":false,"fork":false,"pushed_at":"2019-10-13T17:56:08.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-01T02:38:37.428Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/runnerty.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-10-13T17:48:02.000Z","updated_at":"2019-10-13T17:56:10.000Z","dependencies_parsed_at":null,"dependency_job_id":"f901b69c-4dd2-4b96-8068-0dde8d47cf66","html_url":"https://github.com/runnerty/executor-script","commit_stats":{"total_commits":3,"total_committers":1,"mean_commits":3.0,"dds":0.0,"last_synced_commit":"bae9effcec14228f38c8f600fd5132f3eafd392a"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/runnerty%2Fexecutor-script","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/runnerty%2Fexecutor-script/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/runnerty%2Fexecutor-script/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/runnerty%2Fexecutor-script/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/runnerty","download_url":"https://codeload.github.com/runnerty/executor-script/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244166707,"owners_count":20409178,"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-11-24T21:11:51.059Z","updated_at":"2025-03-18T16:04:41.542Z","avatar_url":"https://github.com/runnerty.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Script executor for [Runnerty]:\n\n### Configuration sample:\n\n```json\n{\n  \"id\": \"script_default\",\n  \"type\": \"@runnerty-executor-script\"\n}\n```\n\n### Plan sample:\n\n```json\n{\n  \"id\": \"script_default\",\n  \"script\": \"return('hello');\"\n}\n```\n\n```json\n{\n  \"id\": \"script_default\",\n  \"script_file\": \"my_script.js\",\n  \"args\": { \"my_const\": \"Y\", \"my_key\": \"@GV(MY_KEY)\" }\n}\n```\n\n```json\n{\n  \"id\": \"script_default\",\n  \"script\": \"let res=''; if(args.my_const === 'Y'){res=args.my_key} return(res);\",\n  \"args\": { \"my_const\": \"Y\", \"my_key\": \"@GV(MY_KEY)\" }\n}\n```\n\n### if you create a function that returns string, integer or boolean it will be automatically saved in `PROCESS_EXEC_DATA_OUTPUT`.\n\n### if you create a function that returns an object or array it will be automatically (JSON.stringify) saved in `PROCESS_EXEC_[KEY_NAME]`:\n\n```js\nreturn { KEY_ONE: \"VAL_ONE\", KEY_TWO: \"VAL_TWO\" };\n```\n\n```json\n{\n  \"output_share\": [\n    { \"key\": \"VALUE\", \"name\": \"ONE\", \"value\": \"@GV(PROCESS_EXEC_KEY_ONE)\" },\n    { \"key\": \"VALUE\", \"name\": \"TWO\", \"value\": \"@GV(PROCESS_EXEC_KEY_TWO)\" }\n  ]\n}\n```\n\n[runnerty]: http://www.runnerty.io\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frunnerty%2Fexecutor-script","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frunnerty%2Fexecutor-script","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frunnerty%2Fexecutor-script/lists"}