{"id":1164026,"name":"@sanity/code-input","ecosystem":"npm","description":"Sanity input component for code, powered by CodeMirror","homepage":"https://github.com/sanity-io/plugins/tree/main/plugins/@sanity/code-input#readme","licenses":"MIT","normalized_licenses":["MIT"],"repository_url":"https://github.com/sanity-io/plugins","keywords_array":["cms","code-editor","code-input","content","headless","realtime","sanity","sanity-plugin"],"namespace":"sanity","versions_count":876,"first_release_published_at":"2017-06-13T12:12:43.209Z","latest_release_published_at":"2026-05-18T11:32:52.772Z","latest_release_number":"7.1.1","last_synced_at":"2026-05-18T13:24:04.933Z","created_at":"2022-04-08T12:34:48.781Z","updated_at":"2026-05-18T13:45:23.909Z","registry_url":"https://www.npmjs.com/package/@sanity/code-input","install_command":"npm install @sanity/code-input","documentation_url":null,"metadata":{"funding":null,"dist-tags":{"beta":"0.111.6-beta.0","launch-design":"0.116.0-alpha.afa81e66","schema-validation":"0.118.0-alpha.3044306e","weakrefs":"0.122.0-weakrefs.962100b2","spaces":"0.122.0-spaces.bc70a23d","focus":"0.122.0-focus.5d5f8af0","custom-login":"0.124.0-default-login.063643d2","rc":"0.125.0-rc.4","fix-span-keys":"0.126.0-fix-span-keys.12d2645d","vega":"0.133.0-vega.cb3cdeee","babel-7":"0.133.0-babel-7.06032ac5","structure":"0.134.0-alpha.d19d4c0c","gql-rtb":"0.136.3-gql-rtb.417","graphql":"0.136.1-canary.66","realtime-block-editor":"0.140.0-alpha.4","alpha":"0.139.3-parrot.0","initial-value-templates":"0.143.0-initial-value-templates.55","cheesy-bites":"0.144.4-cheesy-bites.121","asset-sources":"0.147.0-alpha.2","block-tools-white-space-fix":"0.147.0-block-tools-white-space-fix.2","hints-mode":"0.146.4-hints-mode.156","handle-access-control-errors":"0.147.0-handle-access-control-errors.38","ts-client":"0.147.10-ts-client.1","document-actions":"1.148.5-document-actions.23","review-changes":"1.150.9-review-changes.1024","ui":"2.1.2-ui.11","ui-layers":"2.2.6-ui-layers.22","client-versioning":"2.6.5-client-versioning.20","depcheck-canary":"2.10.5-depcheck-canary.5","roles-aware-studio":"2.10.6-roles-aware-studio.38","block-tools-var-fix":"2.11.3-block-tools-var-fix.4","custom-webpack":"2.12.3-custom-webpack.2","doc-inspect-fix":"2.12.3-doc-inspect-fix.12","ts-improvements":"2.13.2-ts-improvements.64","fix-sparkline":"2.15.2-fix-sparkline.9","pt-search":"2.15.3-pt-search.20","conditional-fields":"2.15.3-conditional-fields.39","styled-peer-dep":"2.17.3-styled-peer-dep.18","pane-components":"2.18.1-pane-components.147","fix-annotation-remove-bug":"2.21.5-fix-annotation-remove-bug.7","pte-sanity-ui":"2.21.10-pte-sanity-ui.285","reference-updates":"2.22.5-reference-updates.85","field-groups":"2.23.3-field-groups.29","fix-search-issue":"2.23.5-fix-search-issue.1","fix-graphql-deploy":"2.24.1-fix-graphql-deploy.6","pte":"2.24.3-pte.128","new-image-file-input":"2.24.3-new-image-file-input.118","feature-image-file-input-refactor":"2.25.1-feature-image-file-input-refactor.150","event-source-polyfill":"2.27.1-event-source-polyfill.1","event-source-tag":"2.27.1-event-source-tag.17","eventsource-for-client":"2.27.1-eventsource-for-client.17","updated-polyfil-client":"2.27.1-updated-polyfil-client.18","updated-client-w-polyfill":"2.27.1-updated-client-w-polyfill.18","updated-client-w-polyfill-1":"2.27.1-updated-client-w-polyfill-1.18","updated-client-w-polyfill-2":"2.27.1-updated-client-w-polyfill-2.18","event-source-monorepo":"2.27.1-event-source-monorepo.17","new-cookieless":"2.27.1-new-cookieless.18","client-update":"2.27.1-client-update.18","cookieless-tag":"2.27.1-cookieless-tag.19","learna-test":"2.27.1-learna-test.2","cookieless-test":"2.27.1-cookieless-test.19","cookieless-t-test":"2.27.1-cookieless-t-test.20","token-login":"2.27.1-token-login.29","update-on-cookieless":"2.27.2-update-on-cookieless.34","cookieless-auth":"2.27.3-cookieless-auth.34","x-dataset-refs":"2.27.4-x-dataset-refs.32","purple-unicorn-patch":"0.136.3-purple-unicorn-patch.5629","get-started-template":"2.29.6-get-started-template.18","pte-instance-props":"2.30.1-pte-instance-props.1","purple-unicorn":"2.29.5-purple-unicorn.856","purple-unicorn-remix":"2.29.5-purple-unicorn-remix.963","code-freeze-2022-05-13":"2.30.3-code-freeze-2022-05-13.4","2022-07-13":"2.30.3-2022-07-13.4","PRL-2022-07-13":"2.30.3-PRL-2022-07-13.5","activation-dashboard":"2.30.3-activation-dashboard.6","dashboard-test":"2.30.5-dashboard-test.25","perforance-opts-internal":"2.30.7-perforance-opts-internal.4","performance-opts-internal":"2.30.7-performance-opts-internal.4","asyc-test":"3.0.0-v3-studio-async-test.0","npx-check":"2.31.1-npx-check.4","next":"2.32.1-next.22","performance-opts-doc-pane":"2.33.1-performance-opts-doc-pane.2","findability":"2.30.7-findability.87","edge":"2.33.3-edge.8","performance-opts":"2.33.4-performance-opts.16","shopify":"2.33.4-shopify.8","empty-template-cli":"2.34.2-empty-template-cli.0","cdr-preview":"2.34.3-cdr-preview.20","cdr-ga":"2.34.3-cdr-ga.20","cdr-ga-2":"2.34.3-cdr-ga-2.19","cdr-ga-4":"2.34.3-cdr-ga-4.23","studio-v3":"3.0.0-v3-studio.15","studio-v2":"2.36.0","canary":"7.0.5-canary.0","latest":"7.1.1"}},"repo_metadata":{"id":325276751,"uuid":"1100528106","full_name":"sanity-io/plugins","owner":"sanity-io","description":"This monorepo is the home for Sanity Studio plugins maintained by Sanity staff and the community. It provides a centralized place for developing, testing, and publishing plugins that extend Sanity Studio's functionality.","archived":false,"fork":false,"pushed_at":"2026-05-17T22:15:08.000Z","size":53132,"stargazers_count":11,"open_issues_count":128,"forks_count":5,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-18T00:35:58.631Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://www.sanity.io/plugins","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/sanity-io.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":"AGENTS.md","dco":null,"cla":null}},"created_at":"2025-11-20T12:00:20.000Z","updated_at":"2026-05-15T14:12:03.000Z","dependencies_parsed_at":"2026-02-12T15:03:27.386Z","dependency_job_id":null,"html_url":"https://github.com/sanity-io/plugins","commit_stats":null,"previous_names":["sanity-io/plugins"],"tags_count":218,"template":false,"template_full_name":null,"purl":"pkg:github/sanity-io/plugins","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sanity-io%2Fplugins","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sanity-io%2Fplugins/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sanity-io%2Fplugins/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sanity-io%2Fplugins/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sanity-io","download_url":"https://codeload.github.com/sanity-io/plugins/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sanity-io%2Fplugins/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33178727,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-18T09:27:30.708Z","status":"ssl_error","status_checked_at":"2026-05-18T09:27:28.300Z","response_time":71,"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"},"owner_record":{"login":"sanity-io","name":"Sanity","uuid":"17177659","kind":"organization","description":"A fully customizable all-code backend for content-driven websites and apps. Get started for free.","email":"hello@sanity.io","website":"https://www.sanity.io/","location":"San Francisco / Oslo","twitter":"sanity_io","company":null,"icon_url":"https://avatars.githubusercontent.com/u/17177659?v=4","repositories_count":373,"last_synced_at":"2026-04-27T06:33:43.470Z","metadata":{"has_sponsors_listing":false},"html_url":"https://github.com/sanity-io","funding_links":[],"total_stars":19516,"followers":1307,"following":0,"created_at":"2022-11-02T16:36:09.145Z","updated_at":"2026-04-27T06:33:43.470Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sanity-io","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sanity-io/repositories"},"tags":[]},"repo_metadata_updated_at":"2026-05-18T13:45:23.908Z","dependent_packages_count":6,"downloads":607785,"downloads_period":"last-month","dependent_repos_count":641,"rankings":{"downloads":1.019475853106668,"dependent_repos_count":0.7022087847201437,"dependent_packages_count":3.1576595125694453,"stargazers_count":8.979399670012452,"forks_count":9.847080910256905,"docker_downloads_count":null,"average":4.741164946133123},"purl":"pkg:npm/%40sanity/code-input","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/npm/@sanity/code-input","docker_dependents_count":null,"docker_downloads_count":null,"usage_url":"https://repos.ecosyste.ms/usage/npm/@sanity/code-input","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/npm/@sanity/code-input/dependencies","status":null,"funding_links":[],"critical":null,"issue_metadata":{"last_synced_at":"2026-05-01T03:03:15.910Z","issues_count":6,"pull_requests_count":45,"avg_time_to_close_issue":18549318.333333332,"avg_time_to_close_pull_request":244580.65714285715,"issues_closed_count":3,"pull_requests_closed_count":35,"pull_request_authors_count":10,"issue_authors_count":6,"avg_comments_per_issue":3.0,"avg_comments_per_pull_request":3.088888888888889,"merged_pull_requests_count":32,"bot_issues_count":1,"bot_pull_requests_count":21,"past_year_issues_count":5,"past_year_pull_requests_count":45,"past_year_avg_time_to_close_issue":7222260.5,"past_year_avg_time_to_close_pull_request":244580.65714285715,"past_year_issues_closed_count":2,"past_year_pull_requests_closed_count":35,"past_year_pull_request_authors_count":10,"past_year_issue_authors_count":5,"past_year_avg_comments_per_issue":2.4,"past_year_avg_comments_per_pull_request":3.088888888888889,"past_year_bot_issues_count":1,"past_year_bot_pull_requests_count":21,"past_year_merged_pull_requests_count":32,"issues_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/sanity-io%2Fplugins/issues","maintainers":[{"login":"stipsan","count":1,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/stipsan"}],"active_maintainers":[{"login":"stipsan","count":1,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/stipsan"}]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@sanity%2Fcode-input/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@sanity%2Fcode-input/version_numbers","latest_version_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@sanity%2Fcode-input/latest_version","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@sanity%2Fcode-input/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@sanity%2Fcode-input/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@sanity%2Fcode-input/codemeta","maintainers":[{"uuid":"sanity-io","login":"sanity-io","name":null,"email":"developers@sanity.io","url":null,"packages_count":338,"html_url":"https://www.npmjs.com/~sanity-io","role":null,"created_at":"2022-11-13T23:50:37.959Z","updated_at":"2022-11-13T23:50:37.959Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/sanity-io/packages"},{"uuid":"sanity-svc.npm","login":"sanity-svc.npm","name":null,"email":"svc.npm@sanity.io","url":null,"packages_count":277,"html_url":"https://www.npmjs.com/~sanity-svc.npm","role":null,"created_at":"2025-12-11T15:52:31.798Z","updated_at":"2025-12-11T15:52:31.798Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/sanity-svc.npm/packages"}]}