{"id":17106061,"url":"https://github.com/grassedge/perl2js","last_synced_at":"2026-05-29T08:02:52.491Z","repository":{"id":56836407,"uuid":"50090585","full_name":"grassedge/perl2js","owner":"grassedge","description":null,"archived":false,"fork":false,"pushed_at":"2016-02-03T15:05:25.000Z","size":124,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-12-13T06:25:16.507Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Perl","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/grassedge.png","metadata":{"files":{"readme":"README.md","changelog":"Changes","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":"2016-01-21T07:39:25.000Z","updated_at":"2025-07-16T09:56:45.000Z","dependencies_parsed_at":"2022-09-09T19:10:51.052Z","dependency_job_id":null,"html_url":"https://github.com/grassedge/perl2js","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/grassedge/perl2js","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grassedge%2Fperl2js","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grassedge%2Fperl2js/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grassedge%2Fperl2js/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grassedge%2Fperl2js/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/grassedge","download_url":"https://codeload.github.com/grassedge/perl2js/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grassedge%2Fperl2js/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33642318,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-05-29T02:00:06.066Z","response_time":107,"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-14T15:43:51.149Z","updated_at":"2026-05-29T08:02:52.468Z","avatar_url":"https://github.com/grassedge.png","language":"Perl","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NAME\n\nApp::perl2js - A module that transpile Perl code to JavaScript as readable as possible.\n\n# SYNOPSIS\n\n    use App::perl2js::Converter;\n    print App::perl2js::Converter-\u003enew-\u003econvert(q[\n        package Hoge;\n        sub hoge {\n            my $self = $_[0];\n            if ($_[1]) {\n                $self-\u003e{hoge} = $_[1];\n            } else {\n                return $self-\u003e{hoge};\n            }\n        }\n    ]);\n    # ---- output ----\n    # 'use strict';\n    # function print() { console.log.apply(console.log, arguments) }\n    # ... some runtime helplers\n    #\n    # var Hoge = (function() {\n    #     var Hoge = {\n    #         hoge() {\n    #             if (this !== undefined) { Array.prototype.unshift.call(arguments, this) }\n    #             var $self = arguments[0];\n    #             if (arguments[1]) {\n    #                 $self[\"hoge\"] = arguments[1];\n    #             } else {\n    #                 return $self[\"hoge\"]\n    #             }\n    #         },\n    #     }\n    #     return Hoge;\n    # })();\n    # export { Hoge }\n\n# DESCRIPTION\n\nApp::perl2js is a transpiler from Perl to JavaScript. this module aim to help porting from Perl to JavaScript, not to output runnable code.\n\n# LICENSE\n\nCopyright (C) hatz48.\n\nThis library is free software; you can redistribute it and/or modify\nit under the same terms as Perl itself.\n\n# AUTHOR\n\nhatz48 \u0026lt;hatz48@hatena.ne.jp\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgrassedge%2Fperl2js","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgrassedge%2Fperl2js","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgrassedge%2Fperl2js/lists"}