{"id":16594119,"url":"https://github.com/jsdf/ruby_node_task","last_synced_at":"2025-09-16T15:05:44.095Z","repository":{"id":33025548,"uuid":"36660659","full_name":"jsdf/ruby_node_task","owner":"jsdf","description":"Run node.js scripts from Ruby with a persistent worker","archived":false,"fork":false,"pushed_at":"2015-11-11T00:53:50.000Z","size":141,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-09-13T00:56:59.123Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","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/jsdf.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}},"created_at":"2015-06-01T12:55:25.000Z","updated_at":"2019-07-29T18:33:07.000Z","dependencies_parsed_at":"2022-08-17T18:10:47.071Z","dependency_job_id":null,"html_url":"https://github.com/jsdf/ruby_node_task","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/jsdf/ruby_node_task","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsdf%2Fruby_node_task","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsdf%2Fruby_node_task/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsdf%2Fruby_node_task/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsdf%2Fruby_node_task/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jsdf","download_url":"https://codeload.github.com/jsdf/ruby_node_task/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsdf%2Fruby_node_task/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":275439513,"owners_count":25465041,"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-09-16T02:00:10.229Z","response_time":65,"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":[],"created_at":"2024-10-11T23:45:12.643Z","updated_at":"2025-09-16T15:05:44.047Z","avatar_url":"https://github.com/jsdf.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ruby_node_task\nRun node.js scripts from Ruby with a persistent worker\n\n```js\n// a node.js module\nvar count = 0;\nmodule.exports = function(opts, done) {\n  count++;\n  done(null, {count: count});\n}\n```\n\n```ruby\nrequire 'node_task'\n\n# run a task\nt = NodeTask.new './lib/node_task/example/count'\nresult = t.run\nexpect(result[:count]).to be(1)\n\n# again\nresult = t.run\nexpect(result[:count]).to be(2)\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjsdf%2Fruby_node_task","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjsdf%2Fruby_node_task","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjsdf%2Fruby_node_task/lists"}