{"id":13503834,"url":"https://github.com/ggrossetie/opal-node-compiler","last_synced_at":"2026-02-15T11:01:16.030Z","repository":{"id":9873381,"uuid":"56931824","full_name":"ggrossetie/opal-node-compiler","owner":"ggrossetie","description":"Opal Compiler for Node.js","archived":false,"fork":false,"pushed_at":"2023-04-09T22:40:50.000Z","size":2681,"stargazers_count":19,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-02-09T23:41:20.892Z","etag":null,"topics":["compiler","javascript","nodejs","opal"],"latest_commit_sha":null,"homepage":"https://opalrb.com/","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/ggrossetie.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}},"created_at":"2016-04-23T17:26:58.000Z","updated_at":"2024-03-07T09:48:56.000Z","dependencies_parsed_at":"2023-11-20T22:45:24.491Z","dependency_job_id":null,"html_url":"https://github.com/ggrossetie/opal-node-compiler","commit_stats":null,"previous_names":["mogztter/opal-node-compiler"],"tags_count":46,"template":false,"template_full_name":null,"purl":"pkg:github/ggrossetie/opal-node-compiler","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ggrossetie%2Fopal-node-compiler","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ggrossetie%2Fopal-node-compiler/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ggrossetie%2Fopal-node-compiler/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ggrossetie%2Fopal-node-compiler/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ggrossetie","download_url":"https://codeload.github.com/ggrossetie/opal-node-compiler/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ggrossetie%2Fopal-node-compiler/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29476294,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-15T10:25:47.032Z","status":"ssl_error","status_checked_at":"2026-02-15T10:25:01.815Z","response_time":118,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["compiler","javascript","nodejs","opal"],"created_at":"2024-07-31T23:00:46.208Z","updated_at":"2026-02-15T11:01:16.014Z","avatar_url":"https://github.com/ggrossetie.png","language":"JavaScript","funding_links":[],"categories":["Uncategorized"],"sub_categories":["Uncategorized"],"readme":"# Opal Compiler for Node.js\n\n[![Build](https://github.com/Mogztter/opal-node-compiler/workflows/Build/badge.svg)](https://github.com/Mogztter/opal-node-compiler/actions?query=workflow%3ABuild)\n[![npm version](http://img.shields.io/npm/v/opal-compiler.svg)](https://www.npmjs.org/package/opal-compiler)\n\nTranspile Ruby code to JavaScript in JavaScript!\n\n## Usage\n\nGiven a Ruby file named `hello.rb`:\n\n```ruby\nputs \"Hello world\"\n```\n\nThe following code will transpile `hello.rb` to JavaScript:\n\n```javascript\nconst Builder = require('opal-compiler').Builder\n// Opal object will be available on the global scope\n\nconst builder = Builder.create()\nconst result = builder.build('hello.rb').toString()\nconsole.log(result)\n//(function(Opal) {\n//  var self = Opal.top, $scope = Opal, nil = Opal.nil, $breaker = Opal.breaker, $slice = Opal.slice;\n\n//  Opal.add_stubs(['$puts']);\n//  return self.$puts(\"Hello world\")\n//})(Opal);\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fggrossetie%2Fopal-node-compiler","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fggrossetie%2Fopal-node-compiler","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fggrossetie%2Fopal-node-compiler/lists"}