{"id":13432747,"url":"https://github.com/piecioshka/executor-editor","last_synced_at":"2026-02-19T09:31:05.258Z","repository":{"id":3005675,"uuid":"4024460","full_name":"piecioshka/executor-editor","owner":"piecioshka","description":"🔨 Display and evaluate your JavaScript code.","archived":false,"fork":false,"pushed_at":"2025-03-01T12:08:48.000Z","size":9658,"stargazers_count":41,"open_issues_count":4,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2026-02-11T10:23:14.517Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://piecioshka.github.io/executor-editor/demo/","language":"JavaScript","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/piecioshka.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,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null},"funding":{"github":"piecioshka","buy_me_a_coffee":"piecioshka","patreon":"piecioshka","custom":["https://www.paypal.me/piecioshka","https://patronite.pl/piecioshka"]}},"created_at":"2012-04-14T12:00:31.000Z","updated_at":"2025-03-01T12:04:28.000Z","dependencies_parsed_at":"2024-10-18T16:17:15.277Z","dependency_job_id":"6b9cf7b5-cc26-42b7-8a3f-78316af76abf","html_url":"https://github.com/piecioshka/executor-editor","commit_stats":{"total_commits":132,"total_committers":3,"mean_commits":44.0,"dds":"0.030303030303030276","last_synced_commit":"5096e7f35981ce53322f26d79e85844a1b0fbc0c"},"previous_names":["piecioshka/executor"],"tags_count":26,"template":false,"template_full_name":null,"purl":"pkg:github/piecioshka/executor-editor","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piecioshka%2Fexecutor-editor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piecioshka%2Fexecutor-editor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piecioshka%2Fexecutor-editor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piecioshka%2Fexecutor-editor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/piecioshka","download_url":"https://codeload.github.com/piecioshka/executor-editor/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piecioshka%2Fexecutor-editor/sbom","scorecard":{"id":733203,"data":{"date":"2025-08-11","repo":{"name":"github.com/piecioshka/executor-editor","commit":"9d10f9012a8a31da15c0e5fa865da548418eb887"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.4,"checks":[{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/testing.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Code-Review","score":0,"reason":"Found 0/30 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Pinned-Dependencies","score":3,"reason":"dependency not pinned by hash detected -- score normalized to 3","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/testing.yml:22: update your workflow using https://app.stepsecurity.io/secureworkflow/piecioshka/executor-editor/testing.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/testing.yml:25: update your workflow using https://app.stepsecurity.io/secureworkflow/piecioshka/executor-editor/testing.yml/main?enable=pin","Info:   0 out of   2 GitHub-owned GitHubAction dependencies pinned","Info:   1 out of   1 npmCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"License","score":0,"reason":"license file not detected","details":["Warn: project does not have a license file"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'main'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Vulnerabilities","score":0,"reason":"19 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-968p-4wvh-cqc8","Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-grv7-fg5c-xmjg","Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275","Warn: Project is vulnerable to: GHSA-jrvm-mcxc-mf6m","Warn: Project is vulnerable to: GHSA-fjxv-7rqg-78g4","Warn: Project is vulnerable to: GHSA-952p-6rrq-rcjv","Warn: Project is vulnerable to: GHSA-r8f7-9pfq-mjmv","Warn: Project is vulnerable to: GHSA-h7cp-r72f-jxh6","Warn: Project is vulnerable to: GHSA-v62p-rq8g-8h59","Warn: Project is vulnerable to: GHSA-p8p7-x288-28g6","Warn: Project is vulnerable to: GHSA-7mwh-4pqv-wmr8","Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw","Warn: Project is vulnerable to: GHSA-3jfq-g458-7qm9","Warn: Project is vulnerable to: GHSA-5955-9wpr-37jh","Warn: Project is vulnerable to: GHSA-f5x3-32g6-xq36","Warn: Project is vulnerable to: GHSA-52f5-9888-hmc6","Warn: Project is vulnerable to: GHSA-72xf-g2v4-qvf3","Warn: Project is vulnerable to: GHSA-7p7h-4mm5-852v"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-22T15:00:49.663Z","repository_id":3005675,"created_at":"2025-08-22T15:00:49.664Z","updated_at":"2025-08-22T15:00:49.664Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29609524,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-19T06:47:36.664Z","status":"ssl_error","status_checked_at":"2026-02-19T06:45:47.551Z","response_time":117,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":[],"created_at":"2024-07-31T02:01:16.068Z","updated_at":"2026-02-19T09:31:05.241Z","avatar_url":"https://github.com/piecioshka.png","language":"JavaScript","funding_links":["https://github.com/sponsors/piecioshka","https://buymeacoffee.com/piecioshka","https://patreon.com/piecioshka","https://www.paypal.me/piecioshka","https://patronite.pl/piecioshka"],"categories":["JavaScript"],"sub_categories":[],"readme":"# executor-editor\n\n[![node version](https://img.shields.io/node/v/executor-editor.svg)](https://www.npmjs.com/package/executor-editor)\n[![npm version](https://badge.fury.io/js/executor-editor.svg)](https://badge.fury.io/js/executor-editor)\n[![downloads count](https://img.shields.io/npm/dt/executor-editor.svg)](https://www.npmjs.com/package/executor-editor)\n[![size](https://packagephobia.com/badge?p=executor-editor)](https://packagephobia.com/result?p=executor-editor)\n[![license](https://img.shields.io/npm/l/executor-editor.svg)](https://piecioshka.mit-license.org)\n[![github-ci](https://github.com/piecioshka/executor-editor/actions/workflows/testing.yml/badge.svg)](https://github.com/piecioshka/executor-editor/actions/workflows/testing.yml)\n\n🔨 Display and evaluate your JavaScript code.\n\n## Preview 🎉\n\n\u003chttps://piecioshka.github.io/executor-editor/demo/\u003e\n\n![](./screenshots/editor.png)\n\n## Features\n\n- ✅ Embed any programming code\n- ✅ Highlight JavaScript syntax\n- ✅ Auto-evaluate the JavaScript code\n- ✅ Execute code on demand\n- ✅ Layout modes: `horizontal`, `vertical`\n- ✅ Multiple instance on single page\n- ✅ Support skins\n- ✅ Display errors in red color\n\n## Usage\n\nInstallation:\n\n```bash\nnpm install executor-editor\n```\n\nor\n\n```bash\nbower install executor-editor\n```\n\n1. Add CSS class `executor-editor` to HTML element:\n\n    ```html\n    \u003cpre class=\"executor-editor\"\u003e\n    class Cake {\n        toString() {\n            return '[Cake]';\n        }\n    }\n\n    console.log(String(new Cake()));\n    \u003c/pre\u003e\n    ```\n\n2. Add on the bottom of page, example before `\u003c/body\u003e`\n\n    ```html\n    \u003clink href=\"/path/to/executor-editor/dist/executor-editor.css\"/\u003e\n    \u003clink href=\"/path/to/executor-editor/dist/skins/blue-skin.css\"/\u003e\n    \u003clink href=\"/path/to/executor-editor/dist/skins/normal-skin.css\"/\u003e\n\n    \u003cscript src=\"/path/to/executor-editor/dist/executor-editor.js\"\u003e\u003c/script\u003e\n    \u003cscript\u003eExecutorEditor.setup();\u003c/script\u003e\n    ```\n\n## API\n\nAll settings you can pass by HTML attributes.\n\n### `data-autoevaluate`\n\n* Default: `true`\n* Options: `true` | `false`\n* Example:\n\n    ```html\n    \u003cpre class=\"executor-editor\" data-autoevaluate=\"false\"\u003e\n        [...]\n    \u003c/pre\u003e\n    ```\n\n### `data-autofocus`\n\n* Default: `true`\n* Options: `true` | `false`\n* Example:\n\n    ```html\n    \u003cpre class=\"executor-editor\" data-autofocus=\"true\"\u003e\n        [...]\n    \u003c/pre\u003e\n    ```\n\n### `data-skin`\n\n* Default: `normal`\n* Options: `normal` | `blue`\n* Example:\n\n    ```html\n    \u003cpre class=\"executor-editor\" data-skin=\"blue\"\u003e\n        [...]\n    \u003c/pre\u003e\n    ```\n\n## Purpose\n\nThe project was created for presentation slides, to embed code and quickly execute it.\n\n## License\n\n[The MIT License](https://piecioshka.mit-license.org) @ 2015\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpiecioshka%2Fexecutor-editor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpiecioshka%2Fexecutor-editor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpiecioshka%2Fexecutor-editor/lists"}