{"_id":"react-ace@15.0.0","bugs":{"url":"https://github.com/securingsincity/react-ace/issues"},"dist":{"shasum":"4a8b377c924e23f4ae934fee473e14c283237787","tarball":"http://registry-npm.ywwl.com/react-ace/download/react-ace-15.0.0.tgz","fileCount":75,"integrity":"sha512-gdmS5ftF0hsbkcrAjZQqYbXwFg5JrHuxjki8mP6Bn9kfa6lHKfZk9sU9EfS0ifQ1CpGCmRxF/VC7GRvlJMBuZw==","signatures":[{"sig":"MEYCIQDBYFlhxm4yUzH9Xfxn6LehfhwmHLKC6uUAczZBhKqzFwIhAIdBHcNmTQPOxy3vtPVkV9ayG5+n1wZviGxdUMQSMOP+","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCOk9PzVeEXGaU90mh2C6J54rnUAcBGFmdzc5ZBt2yrvAIhAN6vq0g/T7ktv7/idHJKaAA2HOB0d6F2mQgVIFpvYJoL"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/react-ace@15.0.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":5109360,"size":1063110,"noattachment":false,"key":"/react-ace/-/react-ace-15.0.0.tgz"},"main":"lib/index.js","name":"react-ace","type":"commonjs","types":"lib/index.d.ts","author":{"name":"James Hrisho"},"module":"lib/index.mjs","exports":{".":{"import":{"types":"./lib/index.d.mts","default":"./lib/index.mjs"},"require":{"types":"./lib/index.d.ts","default":"./lib/index.js"}},"./package.json":"./package.json"},"gitHead":"d6e80ba8b2d8caafba9a139975c1d81587a9a868","license":"MIT","scripts":{"lint":"oxlint src/","test":"vitest","build":"tsdown","check":"npm run lint && npm run typecheck","clean":"node -e \"for (const d of ['lib','dist']) fs.rmSync(d, { recursive: true, force: true })\"","example":"vite --config vite.config.example.ts","prepare":"npm run build","test:ui":"vitest --ui","version":"npm run build","coverage":"vitest --coverage","prettier":"prettier --write \"src/**\" \"example/*.js\" \"tests/**\"","typecheck":"tsc --noEmit","preversion":"npm run clean && npm run check","build:example":"vite build --config vite.config.example.ts","prepublishOnly":"npm run clean && npm run build"},"version":"15.0.0","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:e7395a92-656f-4eb1-b57d-3aa5e55ee792"}},"homepage":"https://github.com/securingsincity/react-ace#readme","keywords":["ace","ace editor","react-component","react"],"prettier":{"arrowParens":"avoid","singleQuote":false,"trailingComma":"none"},"repository":{"url":"git+ssh://git@github.com/securingsincity/react-ace.git","type":"git"},"_npmVersion":"12.0.1","description":"A react component for Ace Editor","directories":{},"maintainers":[{"name":"securingsincity","email":"james.hrisho@gmail.com"}],"_nodeVersion":"22.23.1","dependencies":{"ace-builds":"^1.36.3","prop-types":"^15.8.1","fast-equals":"^5.3.3","diff-match-patch":"^1.0.5"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^6.3.5","jsdom":"^25.0.0","react":"^19.1.0","oxlint":"^1.6.0","tsdown":"^0.22.14","vitest":"^3.2.4","prettier":"^3.2.5","react-dom":"^19.1.0","@vitest/ui":"^3.2.4","typescript":"^7.0.2","@types/node":"^22.5.5","@types/react":"^19.0.8","@types/react-dom":"^19.0.3","@types/prop-types":"^15.7.12","@vitest/coverage-v8":"^3.2.4","@vitejs/plugin-react":"^4.6.0","@testing-library/react":"^16.2.0","@types/diff-match-patch":"^1.0.36","@testing-library/jest-dom":"^6.6.3"},"peerDependencies":{"react":"^0.13.0 || ^0.14.0 || ^15.0.1 || ^16.0.0 || ^17.0.0 || ^18.0.0 || ^19.0.0","react-dom":"^0.13.0 || ^0.14.0 || ^15.0.1 || ^16.0.0 || ^17.0.0 || ^18.0.0 || ^19.0.0"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/react-ace_15.0.0_1785328372650_0.3859280638622846"},"readme":"# React-Ace\n\n![logo](https://github.com/securingsincity/react-ace/raw/master/logo.png)\n\n[![Backers on Open Collective](https://opencollective.com/react-ace/backers/badge.svg)](#backers) [![Sponsors on Open Collective](https://opencollective.com/react-ace/sponsors/badge.svg)](#sponsors) [![Greenkeeper badge](https://badges.greenkeeper.io/securingsincity/react-ace.svg)](https://greenkeeper.io/)\n\n[![npm version](https://badge.fury.io/js/react-ace.svg)](http://badge.fury.io/js/react-ace)\n[![CDNJS](https://img.shields.io/cdnjs/v/react-ace.svg)](https://cdnjs.com/libraries/react-ace)\n[![Coverage Status](https://coveralls.io/repos/github/securingsincity/react-ace/badge.svg?branch=main)](https://coveralls.io/github/securingsincity/react-ace?branch=main)\n\n\nA set of react components for Ace\n\n_NOTE FOR VERSION 8!_ : We have stopped support for Brace and now use Ace-builds. Please read the documentation on how to migrate. Examples are being updated.\n\n[DEMO of React Ace](https://securingsincity.github.io/react-ace/)\n\n[DEMO of React Ace Split Editor](https://securingsincity.github.io/react-ace/split.html)\n\n[DEMO of React Ace Diff Editor](https://securingsincity.github.io/react-ace/diff.html)\n\n## Install\n\n`npm install react-ace ace-builds`\n\n`yarn add react-ace ace-builds`\n\n## Basic Usage\n\n```javascript\nimport React from \"react\";\nimport { render } from \"react-dom\";\nimport AceEditor from \"react-ace\";\n\nimport \"ace-builds/src-noconflict/mode-java\";\nimport \"ace-builds/src-noconflict/theme-github\";\nimport \"ace-builds/src-noconflict/ext-language_tools\";\n\nfunction onChange(newValue) {\n  console.log(\"change\", newValue);\n}\n\n// Render editor\nrender(\n  <AceEditor\n    mode=\"java\"\n    theme=\"github\"\n    onChange={onChange}\n    name=\"UNIQUE_ID_OF_DIV\"\n    editorProps={{ $blockScrolling: true }}\n  />,\n  document.getElementById(\"example\")\n);\n```\n\n## Examples\n\nCheckout the `example` directory for a working example using webpack.\n\n## Documentation\n\n[Ace Editor](https://github.com/securingsincity/react-ace/blob/master/docs/Ace.md)\n\n[Split View Editor](https://github.com/securingsincity/react-ace/blob/master/docs/Split.md)\n\n[Diff Editor](https://github.com/securingsincity/react-ace/blob/master/docs/Diff.md)\n\n[How to add modes, themes and keyboard handlers](https://github.com/securingsincity/react-ace/blob/master/docs/Modes.md)\n\n[Frequently Asked Questions](https://github.com/securingsincity/react-ace/blob/master/docs/FAQ.md)\n\n[Migrate to version 8](https://github.com/securingsincity/react-ace/blob/master/docs/Migrate-v7-to-v8.md)\n\n## Backers\n\nSupport us with a monthly donation and help us continue our activities. [[Become a backer](https://opencollective.com/react-ace#backer)]\n\n<a href=\"https://opencollective.com/react-ace/backer/0/website\" target=\"_blank\"><img src=\"https://opencollective.com/react-ace/backer/0/avatar.svg\"></a>\n<a href=\"https://opencollective.com/react-ace/backer/1/website\" target=\"_blank\"><img src=\"https://opencollective.com/react-ace/backer/1/avatar.svg\"></a>\n<a href=\"https://opencollective.com/react-ace/backer/2/website\" target=\"_blank\"><img src=\"https://opencollective.com/react-ace/backer/2/avatar.svg\"></a>\n<a href=\"https://opencollective.com/react-ace/backer/3/website\" target=\"_blank\"><img src=\"https://opencollective.com/react-ace/backer/3/avatar.svg\"></a>\n<a href=\"https://opencollective.com/react-ace/backer/4/website\" target=\"_blank\"><img src=\"https://opencollective.com/react-ace/backer/4/avatar.svg\"></a>\n<a href=\"https://opencollective.com/react-ace/backer/5/website\" target=\"_blank\"><img src=\"https://opencollective.com/react-ace/backer/5/avatar.svg\"></a>\n<a href=\"https://opencollective.com/react-ace/backer/6/website\" target=\"_blank\"><img src=\"https://opencollective.com/react-ace/backer/6/avatar.svg\"></a>\n<a href=\"https://opencollective.com/react-ace/backer/7/website\" target=\"_blank\"><img src=\"https://opencollective.com/react-ace/backer/7/avatar.svg\"></a>\n<a href=\"https://opencollective.com/react-ace/backer/8/website\" target=\"_blank\"><img src=\"https://opencollective.com/react-ace/backer/8/avatar.svg\"></a>\n<a href=\"https://opencollective.com/react-ace/backer/9/website\" target=\"_blank\"><img src=\"https://opencollective.com/react-ace/backer/9/avatar.svg\"></a>\n<a href=\"https://opencollective.com/react-ace/backer/10/website\" target=\"_blank\"><img src=\"https://opencollective.com/react-ace/backer/10/avatar.svg\"></a>\n<a href=\"https://opencollective.com/react-ace/backer/11/website\" target=\"_blank\"><img src=\"https://opencollective.com/react-ace/backer/11/avatar.svg\"></a>\n<a href=\"https://opencollective.com/react-ace/backer/12/website\" target=\"_blank\"><img src=\"https://opencollective.com/react-ace/backer/12/avatar.svg\"></a>\n<a href=\"https://opencollective.com/react-ace/backer/13/website\" target=\"_blank\"><img src=\"https://opencollective.com/react-ace/backer/13/avatar.svg\"></a>\n<a href=\"https://opencollective.com/react-ace/backer/14/website\" target=\"_blank\"><img src=\"https://opencollective.com/react-ace/backer/14/avatar.svg\"></a>\n<a href=\"https://opencollective.com/react-ace/backer/15/website\" target=\"_blank\"><img src=\"https://opencollective.com/react-ace/backer/15/avatar.svg\"></a>\n<a href=\"https://opencollective.com/react-ace/backer/16/website\" target=\"_blank\"><img src=\"https://opencollective.com/react-ace/backer/16/avatar.svg\"></a>\n<a href=\"https://opencollective.com/react-ace/backer/17/website\" target=\"_blank\"><img src=\"https://opencollective.com/react-ace/backer/17/avatar.svg\"></a>\n<a href=\"https://opencollective.com/react-ace/backer/18/website\" target=\"_blank\"><img src=\"https://opencollective.com/react-ace/backer/18/avatar.svg\"></a>\n<a href=\"https://opencollective.com/react-ace/backer/19/website\" target=\"_blank\"><img src=\"https://opencollective.com/react-ace/backer/19/avatar.svg\"></a>\n<a href=\"https://opencollective.com/react-ace/backer/20/website\" target=\"_blank\"><img src=\"https://opencollective.com/react-ace/backer/20/avatar.svg\"></a>\n<a href=\"https://opencollective.com/react-ace/backer/21/website\" target=\"_blank\"><img src=\"https://opencollective.com/react-ace/backer/21/avatar.svg\"></a>\n<a href=\"https://opencollective.com/react-ace/backer/22/website\" target=\"_blank\"><img src=\"https://opencollective.com/react-ace/backer/22/avatar.svg\"></a>\n<a href=\"https://opencollective.com/react-ace/backer/23/website\" target=\"_blank\"><img src=\"https://opencollective.com/react-ace/backer/23/avatar.svg\"></a>\n<a href=\"https://opencollective.com/react-ace/backer/24/website\" target=\"_blank\"><img src=\"https://opencollective.com/react-ace/backer/24/avatar.svg\"></a>\n<a href=\"https://opencollective.com/react-ace/backer/25/website\" target=\"_blank\"><img src=\"https://opencollective.com/react-ace/backer/25/avatar.svg\"></a>\n<a href=\"https://opencollective.com/react-ace/backer/26/website\" target=\"_blank\"><img src=\"https://opencollective.com/react-ace/backer/26/avatar.svg\"></a>\n<a href=\"https://opencollective.com/react-ace/backer/27/website\" target=\"_blank\"><img src=\"https://opencollective.com/react-ace/backer/27/avatar.svg\"></a>\n<a href=\"https://opencollective.com/react-ace/backer/28/website\" target=\"_blank\"><img src=\"https://opencollective.com/react-ace/backer/28/avatar.svg\"></a>\n<a href=\"https://opencollective.com/react-ace/backer/29/website\" target=\"_blank\"><img src=\"https://opencollective.com/react-ace/backer/29/avatar.svg\"></a>\n\n## Sponsors\n\nBecome a sponsor and get your logo on our README on Github with a link to your site. [[Become a sponsor](https://opencollective.com/react-ace#sponsor)]\n\n<a href=\"https://opencollective.com/react-ace/sponsor/0/website\" target=\"_blank\"><img src=\"https://opencollective.com/react-ace/sponsor/0/avatar.svg\"></a>\n<a href=\"https://opencollective.com/react-ace/sponsor/1/website\" target=\"_blank\"><img src=\"https://opencollective.com/react-ace/sponsor/1/avatar.svg\"></a>\n<a href=\"https://opencollective.com/react-ace/sponsor/2/website\" target=\"_blank\"><img src=\"https://opencollective.com/react-ace/sponsor/2/avatar.svg\"></a>\n<a href=\"https://opencollective.com/react-ace/sponsor/3/website\" target=\"_blank\"><img src=\"https://opencollective.com/react-ace/sponsor/3/avatar.svg\"></a>\n<a href=\"https://opencollective.com/react-ace/sponsor/4/website\" target=\"_blank\"><img src=\"https://opencollective.com/react-ace/sponsor/4/avatar.svg\"></a>\n<a href=\"https://opencollective.com/react-ace/sponsor/5/website\" target=\"_blank\"><img src=\"https://opencollective.com/react-ace/sponsor/5/avatar.svg\"></a>\n<a href=\"https://opencollective.com/react-ace/sponsor/6/website\" target=\"_blank\"><img src=\"https://opencollective.com/react-ace/sponsor/6/avatar.svg\"></a>\n<a href=\"https://opencollective.com/react-ace/sponsor/7/website\" target=\"_blank\"><img src=\"https://opencollective.com/react-ace/sponsor/7/avatar.svg\"></a>\n<a href=\"https://opencollective.com/react-ace/sponsor/8/website\" target=\"_blank\"><img src=\"https://opencollective.com/react-ace/sponsor/8/avatar.svg\"></a>\n<a href=\"https://opencollective.com/react-ace/sponsor/9/website\" target=\"_blank\"><img src=\"https://opencollective.com/react-ace/sponsor/9/avatar.svg\"></a>\n","publish_time":1785328372799,"_cnpm_publish_time":1785328372799,"dist-tags":{"latest":"15.0.0"}}