{"id":13669725,"url":"https://github.com/huruji/v8-custom-global-variables","last_synced_at":"2026-06-29T08:31:42.176Z","repository":{"id":97310907,"uuid":"410346987","full_name":"huruji/v8-custom-global-variables","owner":"huruji","description":"V8 嵌入 C++ 应用（JavaScript runtime）并自定义全局变量的例子","archived":false,"fork":false,"pushed_at":"2021-09-29T15:28:10.000Z","size":18796,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-19T23:03:23.944Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/huruji.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2021-09-25T18:07:09.000Z","updated_at":"2023-11-02T03:53:12.000Z","dependencies_parsed_at":"2023-05-07T02:47:01.386Z","dependency_job_id":null,"html_url":"https://github.com/huruji/v8-custom-global-variables","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/huruji/v8-custom-global-variables","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/huruji%2Fv8-custom-global-variables","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/huruji%2Fv8-custom-global-variables/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/huruji%2Fv8-custom-global-variables/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/huruji%2Fv8-custom-global-variables/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/huruji","download_url":"https://codeload.github.com/huruji/v8-custom-global-variables/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/huruji%2Fv8-custom-global-variables/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34919882,"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-06-29T02:00:05.398Z","response_time":58,"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-08-02T09:00:20.720Z","updated_at":"2026-06-29T08:31:42.140Z","avatar_url":"https://github.com/huruji.png","language":"C++","funding_links":[],"categories":["C++"],"sub_categories":[],"readme":"# v8-custom-global-variables\nV8 嵌入 C++ 应用（JavaScript runtime）并自定义全局变量的例子\n\n\n下载后使用 clion 打开编译后，运行以下命令：\n\n```bash\n./demo ./app.js\n```\n\n定义了全局变量 __version 为字符串 1.0.0，全局函数 getVersion 返回 1.0.0，全局打印 log 函数，全局对象 node ,node.version 返回 1.0.0\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhuruji%2Fv8-custom-global-variables","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhuruji%2Fv8-custom-global-variables","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhuruji%2Fv8-custom-global-variables/lists"}