{"id":24092307,"url":"https://github.com/RT-Thread-packages/jerryscript","last_synced_at":"2025-09-17T01:33:46.865Z","repository":{"id":31978065,"uuid":"108094897","full_name":"RT-Thread-packages/jerryscript","owner":"RT-Thread-packages","description":"JerryScript port for RT-Thread","archived":false,"fork":false,"pushed_at":"2021-11-18T03:50:35.000Z","size":189,"stargazers_count":19,"open_issues_count":0,"forks_count":17,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-01-10T07:51:45.493Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/RT-Thread-packages.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":"2017-10-24T07:54:34.000Z","updated_at":"2025-01-09T14:11:55.000Z","dependencies_parsed_at":"2022-08-07T17:01:12.749Z","dependency_job_id":null,"html_url":"https://github.com/RT-Thread-packages/jerryscript","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/RT-Thread-packages/jerryscript","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RT-Thread-packages%2Fjerryscript","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RT-Thread-packages%2Fjerryscript/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RT-Thread-packages%2Fjerryscript/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RT-Thread-packages%2Fjerryscript/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RT-Thread-packages","download_url":"https://codeload.github.com/RT-Thread-packages/jerryscript/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RT-Thread-packages%2Fjerryscript/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":275520370,"owners_count":25479603,"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":"2025-01-10T07:44:56.766Z","updated_at":"2025-09-17T01:33:46.519Z","avatar_url":"https://github.com/RT-Thread-packages.png","language":"C","readme":"# jerryscript on RT-Thread\n\n## 1、介绍\n\nJerryScript是一个轻量级的JavaScript引擎，用于资源受限的设备，如微控制器。它可以运行在小于64 kb RAM和小于200 kb的闪存的设备上。由于这个特性，它被移植到了RT-Thread中。\n\nAPI Reference ：http://jerryscript.net/api-reference/\n\n### 1.1 目录结构\n\nJerryscript on RT-Thread软件包目录如下所示：\n\n|  名称 |  说明 |\n| - | - |\n| examples | 示例代码，示范如何导入C++的API与添加builtin module |\n| jerryscript | jerryscript 官方库 |\n| rtthread-port | RT-Thread 移植代码目录 |\n\n### 1.2 许可证\n\nJerryscript on RT-Thread软件包遵循Apache-2.0 许可，详见 LICENSE 文件。\n\n### 1.3 依赖\n\n- RT-Thread 3.0+\n- finsh 软件包\n\n## 2、 获取软件包\n\n使用 Jerryscript on RT-Thread 软件包需要在 RT-Thread 的包管理中选中它，具体路径如下：\n\n    RT-Thread online packages\n        language packages  ---\u003e\n            [ ] Lua: A lightweight, embeddable scripting language.  ---\u003e\n            [*] JerryScript: Ultra-lightweight JavaScript engine for the Internet of Things.  ---\u003e\n            [ ] MicroPython: A lean and efficient Python implementation for microcontrollers and constrained systems.  ---\u003e\n\n然后让 RT-Thread 的包管理器自动更新，或者使用 `pkgs --update` 命令更新包到 BSP 中。\n\n## 3、使用Jerryscript on RT-Thread软件包\n\n- 如何导入C++API，请参考[ImportCplusplus](examples/ImportCplusplus/README.md)\n- 如何添加builtin module，请参考[ImportModule](examples/ImportModule/README.md)\n\n## 4、 注意事项\n\n- Jerryscript on RT-Thread软件包版本为`latest`，请勿选择版本`V1.0.0`。\n- Jerryscript on RT-Thread软件包依赖finsh软件包，请确认在 RT-Thread 的包管理中选中了`finsh`，具体路径如下：\n    ```\n    RT-Thread Components\n        Command shell  ---\u003e\n            [*] finsh shell\n    ```\n## 5、 联系方式 \u0026 感谢\n\n- 维护: RT-Thread 开发团队\n- 主页: https://github.com/RT-Thread-packages/jerryscript\n","funding_links":[],"categories":["Packages"],"sub_categories":["Language"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FRT-Thread-packages%2Fjerryscript","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FRT-Thread-packages%2Fjerryscript","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FRT-Thread-packages%2Fjerryscript/lists"}