{"id":26769811,"url":"https://github.com/fastering18/luavascript","last_synced_at":"2026-04-16T17:42:26.777Z","repository":{"id":143192365,"uuid":"329970218","full_name":"Fastering18/LuavaScript","owner":"Fastering18","description":"JavaScript functions written in lua","archived":false,"fork":false,"pushed_at":"2022-02-16T05:49:34.000Z","size":17,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-04T16:05:47.008Z","etag":null,"topics":["javascript","lua","luau","roblox","robloxstudio"],"latest_commit_sha":null,"homepage":"","language":"Lua","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/Fastering18.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":"2021-01-15T16:50:14.000Z","updated_at":"2022-02-16T05:49:37.000Z","dependencies_parsed_at":"2023-06-27T05:24:59.156Z","dependency_job_id":null,"html_url":"https://github.com/Fastering18/LuavaScript","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Fastering18/LuavaScript","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Fastering18%2FLuavaScript","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Fastering18%2FLuavaScript/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Fastering18%2FLuavaScript/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Fastering18%2FLuavaScript/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Fastering18","download_url":"https://codeload.github.com/Fastering18/LuavaScript/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Fastering18%2FLuavaScript/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268351343,"owners_count":24236389,"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","status":"online","status_checked_at":"2025-08-02T02:00:12.353Z","response_time":74,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["javascript","lua","luau","roblox","robloxstudio"],"created_at":"2025-03-28T22:38:00.229Z","updated_at":"2026-04-16T17:42:26.744Z","avatar_url":"https://github.com/Fastering18.png","language":"Lua","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003e **This project is discontinued.**  \n\u003e As alternative you can use default roblox promise.  \n\u003e check out another project [here](https://github.com/Fastering18/JS-like-discordia-bot)  \n# LuavaScript\nJavaScript functions written in lua, Roblox Studio.\n\n## EXAMPLE USAGE\n```lua\nlocal JavaScript = require(path to main module); -- You can fill with asset id of main module\n     \nlocal Array = JavaScript.Array;\nlocal process = JavaScript.process;\nlocal String = JavaScript.String;\nlocal Promise = JavaScript.Promise;\n\n\n-- ARRAY\n\nlocal arr = Array.new({\"Two\", \"Three\"});\narr.unshift(\"One\");\narr.push(\"Four\");\n\nprint(arr.indexOf(\"Two\"));\n\narr.forEach(function(element)\n\t print(\"value: \"..element);\nend);\n\nprint(arr.toString());\n\n\n-- STRING\n\nlocal str = String.new(\"   Hello World  \");\nprint(str.toLowerCase().trim().value);\n\n\n-- PROCESS \u0026 Environment variables\n-- this doesnt store env instead store into normal table. \nprocess.env.token = \"This isn't bot token\";\nprint(process.env);\n\n\n-- PROMISE \n\nlocal promise = Promise.new(function(resolve, reject)\n\twait(6)\n\tif process.env == nil then\n\t\tresolve(\"correct!\")\n\telse\n\t\treject(\"wrong!!\")\n\tend\nend)\npromise.result(\n\tfunction(result)\n\t\tprint(\"Sucess: \"..result);\n\tend\n).catch(\n\tfunction(err)\n\t\tprint(\"error: \"..err);\n\tend\n).finally(function() \n    print(\"promise ended\") \nend) \n```\n\n[Toolbox LuavaScript](https://www.roblox.com/library/6244962761/LuavaScript) \u003cbr\u003e\nInstall package directly from ROBLOX toolbox.\u003cbr\u003e\n\n## Made by Fastering18, 2021\u003cbr\u003e\nPlease report any bug if you found, feedback appreciated!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffastering18%2Fluavascript","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffastering18%2Fluavascript","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffastering18%2Fluavascript/lists"}