Batteries-included extensions for Lexical editors.
mochinori turns the features Lexical leaves to you (images, uploads, embeds)
into packages you can install. It builds on the published lexical and
@lexical/* packages and never forks them.
| Package | Status |
|---|---|
@mochinori/images |
In progress: an image node with upload, resizing and captions |
packages/
mochinori-images/ @mochinori/images (published)
mochinori-website/ the docs and demos site (Docusaurus)
mochinori-website-worker/ the Void app that serves the site on Cloudflare
mochinori-eslint-plugin-internal/ lint rules for this repo
scripts/ repo scripts and their tests
Requires Node 24.22 or later (see .nvmrc) and pnpm 11.
pnpm install
pnpm run start:website # docs and demos at http://localhost:3000
pnpm run test-unit # Vitest
pnpm run ci-check # TypeScript, Prettier and ESLint
pnpm run build # build the published packagesChanges to a published package need a changeset, and all packages are released to npm together at one version; see CONTRIBUTING.md.
The website deploys to Cloudflare with Void: the Docusaurus build is served as static assets, alongside API routes and Durable Objects. See the Cloudflare guide for running it locally and deploying.
MIT, see LICENSE. Code adapted from Lexical keeps its original MIT notice.