{"id":915798,"name":"@editorjs/code","ecosystem":"npm","description":"Code Tool for Editor.js","homepage":null,"licenses":"MIT","normalized_licenses":["MIT"],"repository_url":"https://github.com/editor-js/code","keywords_array":["codex editor","code","editor.js","editorjs"],"namespace":"editorjs","versions_count":10,"first_release_published_at":"2019-03-01T18:39:35.383Z","latest_release_published_at":"2025-12-19T08:53:06.165Z","latest_release_number":"2.9.4","last_synced_at":"2026-03-14T02:17:21.694Z","created_at":"2022-04-07T16:48:27.196Z","updated_at":"2026-03-14T02:17:21.694Z","registry_url":"https://www.npmjs.com/package/@editorjs/code","install_command":"npm install @editorjs/code","documentation_url":null,"metadata":{"funding":null,"dist-tags":{"latest":"2.9.4"}},"repo_metadata":{"id":32902558,"uuid":"105693823","full_name":"editor-js/code","owner":"editor-js","description":"Code Tool for Editor.js 2.0","archived":false,"fork":false,"pushed_at":"2024-11-19T20:06:16.000Z","size":430,"stargazers_count":83,"open_issues_count":15,"forks_count":53,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-09-12T15:49:05.043Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/editor-js.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,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2017-10-03T19:27:28.000Z","updated_at":"2025-06-27T07:09:46.000Z","dependencies_parsed_at":"2024-02-08T21:10:57.825Z","dependency_job_id":"a1e4d846-acdb-475d-8410-6a76b2abc678","html_url":"https://github.com/editor-js/code","commit_stats":{"total_commits":41,"total_committers":9,"mean_commits":4.555555555555555,"dds":0.7804878048780488,"last_synced_commit":"193f5f6f00288679a97bfe620a4d811e5acd9b16"},"previous_names":["codex-editor/code"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/editor-js/code","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/editor-js%2Fcode","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/editor-js%2Fcode/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/editor-js%2Fcode/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/editor-js%2Fcode/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/editor-js","download_url":"https://codeload.github.com/editor-js/code/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/editor-js%2Fcode/sbom","scorecard":{"id":298001,"data":{"date":"2025-08-11","repo":{"name":"github.com/editor-js/code","commit":"82402cb86a327e3c64bef653d953533e2c3613dd"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.8,"checks":[{"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":"Code-Review","score":10,"reason":"all changesets reviewed","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":"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":"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":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/eslint.yml:10: update your workflow using https://app.stepsecurity.io/secureworkflow/editor-js/code/eslint.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/npm-publish.yml:10: update your workflow using https://app.stepsecurity.io/secureworkflow/editor-js/code/npm-publish.yml/master?enable=pin","Info:   0 out of   1 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   1 third-party GitHubAction 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":"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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/eslint.yml:1","Warn: no topLevel permission defined: .github/workflows/npm-publish.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":"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":"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":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"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":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"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":"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":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 30 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":0,"reason":"15 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275","Warn: Project is vulnerable to: GHSA-67mh-4wv8-2f99","Warn: Project is vulnerable to: GHSA-952p-6rrq-rcjv","Warn: Project is vulnerable to: GHSA-mwcw-c2x4-8c55","Warn: Project is vulnerable to: GHSA-gcx4-mw62-g8wm","Warn: Project is vulnerable to: GHSA-64vr-g452-qvp3","Warn: Project is vulnerable to: GHSA-9cwx-2883-4wfx","Warn: Project is vulnerable to: GHSA-vg6x-rcgg-rjx6","Warn: Project is vulnerable to: GHSA-x574-m823-4x7w","Warn: Project is vulnerable to: GHSA-4r4m-qw57-chr8","Warn: Project is vulnerable to: GHSA-xcj6-pq6g-qj4x","Warn: Project is vulnerable to: GHSA-356w-63v5-8wf4","Warn: Project is vulnerable to: GHSA-859w-5945-r5v3","Warn: Project is vulnerable to: GHSA-g3ch-rx76-35fx"],"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-17T19:59:56.962Z","repository_id":32902558,"created_at":"2025-08-17T19:59:56.963Z","updated_at":"2025-08-17T19:59:56.963Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279010338,"owners_count":26084738,"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-10-12T02:00:06.719Z","response_time":53,"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"},"owner_record":{"login":"editor-js","name":"Editor.js","uuid":"27892231","kind":"organization","description":"Editor.js Tools contributors community","email":"team@codex.so","website":"https://editorjs.io/","location":null,"twitter":null,"company":null,"icon_url":"https://avatars.githubusercontent.com/u/27892231?v=4","repositories_count":36,"last_synced_at":"2024-05-15T23:49:13.910Z","metadata":{"has_sponsors_listing":false},"html_url":"https://github.com/editor-js","funding_links":[],"total_stars":3559,"followers":424,"following":0,"created_at":"2022-11-09T09:19:21.621Z","updated_at":"2024-05-15T23:49:21.068Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/editor-js","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/editor-js/repositories"},"tags":[]},"repo_metadata_updated_at":"2025-12-19T20:40:40.004Z","dependent_packages_count":145,"downloads":144033,"downloads_period":"last-month","dependent_repos_count":891,"rankings":{"downloads":0.7247410195500694,"dependent_repos_count":0.621519393145545,"dependent_packages_count":0.28209793955372997,"stargazers_count":5.743602992384248,"forks_count":3.9625649948386035,"docker_downloads_count":1.0650745021467434,"average":2.066600140269823},"purl":"pkg:npm/%40editorjs/code","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/npm/@editorjs/code","docker_dependents_count":12,"docker_downloads_count":809,"usage_url":"https://repos.ecosyste.ms/usage/npm/@editorjs/code","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/npm/@editorjs/code/dependencies","status":null,"funding_links":[],"critical":null,"issue_metadata":{"last_synced_at":"2025-08-10T15:06:48.088Z","issues_count":21,"pull_requests_count":55,"avg_time_to_close_issue":35471437.4375,"avg_time_to_close_pull_request":9599110.111111112,"issues_closed_count":16,"pull_requests_closed_count":45,"pull_request_authors_count":18,"issue_authors_count":17,"avg_comments_per_issue":2.142857142857143,"avg_comments_per_pull_request":0.3090909090909091,"merged_pull_requests_count":29,"bot_issues_count":0,"bot_pull_requests_count":22,"past_year_issues_count":1,"past_year_pull_requests_count":3,"past_year_avg_time_to_close_issue":46485.0,"past_year_avg_time_to_close_pull_request":1066606.3333333333,"past_year_issues_closed_count":1,"past_year_pull_requests_closed_count":3,"past_year_pull_request_authors_count":1,"past_year_issue_authors_count":1,"past_year_avg_comments_per_issue":1.0,"past_year_avg_comments_per_pull_request":0.6666666666666666,"past_year_bot_issues_count":0,"past_year_bot_pull_requests_count":0,"past_year_merged_pull_requests_count":3,"issues_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/editor-js%2Fcode/issues","maintainers":[{"login":"gohabereg","count":5,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/gohabereg"},{"login":"talyguryn","count":5,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/talyguryn"},{"login":"idebenone","count":2,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/idebenone"},{"login":"robonetphy","count":1,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/robonetphy"}],"active_maintainers":[{"login":"idebenone","count":2,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/idebenone"}]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@editorjs%2Fcode/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@editorjs%2Fcode/version_numbers","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@editorjs%2Fcode/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@editorjs%2Fcode/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@editorjs%2Fcode/codemeta","maintainers":[{"uuid":"codex-team","login":"codex-team","name":null,"email":"team@ifmo.su","url":null,"packages_count":90,"html_url":"https://www.npmjs.com/~codex-team","role":null,"created_at":"2022-11-17T04:35:27.688Z","updated_at":"2022-11-17T04:35:27.688Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/codex-team/packages"}]}