{"_id":"@cosmocart/blog-editor","_rev":"2-0b7469526824d4bb295ce7bdb02403ef","name":"@cosmocart/blog-editor","dist-tags":{"latest":"0.1.2"},"versions":{"0.1.0":{"name":"@cosmocart/blog-editor","version":"0.1.0","license":"AGPL-3.0-only","_id":"@cosmocart/blog-editor@0.1.0","maintainers":[{"name":"cosmocart","email":"deniellalla@gmail.com"}],"dist":{"shasum":"e3066210bf1890ea72f9e9273b44603a476b4069","tarball":"https://registry.npmjs.org/@cosmocart/blog-editor/-/blog-editor-0.1.0.tgz","fileCount":10,"integrity":"sha512-d9X4p+/GmCtZ7agz6W/qrG0owTrh+i6xHCjXy8ICH7DaEqe7giM8jErvhIC4FK28tBI2eRJUZVgeX5ayMJO7Yg==","signatures":[{"sig":"MEQCIC+4pRKhxSzA8pP0CCfXh/VVtAW2amgtBZN8VD3t88DiAiA3PLFWXXOv1KUMXoLUIdtZj9qQf983GiXcnhjX/fNv7Q==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":945859},"main":"./dist/index.cjs","type":"module","_from":"file:cosmocart-blog-editor-0.1.0.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"},"./styles.css":"./dist/styles.css"},"scripts":{"dev":"tsup --watch --onSuccess \"node scripts/copy-css.mjs\"","lint":"echo \"no lint yet\"","test":"echo \"no tests yet\"","build":"tsup && node scripts/copy-css.mjs"},"_npmUser":{"name":"cosmocart","email":"deniellalla@gmail.com"},"_resolved":"/tmp/59a65fc8acf89ac26edbebbcab317458/cosmocart-blog-editor-0.1.0.tgz","_integrity":"sha512-d9X4p+/GmCtZ7agz6W/qrG0owTrh+i6xHCjXy8ICH7DaEqe7giM8jErvhIC4FK28tBI2eRJUZVgeX5ayMJO7Yg==","_npmVersion":"10.9.7","description":"Lexical-based visual editor for cosmo-blog. Notion-style block editing with realtime autosave.","directories":{},"sideEffects":["**/*.css"],"_nodeVersion":"22.22.2","dependencies":{"lexical":"^0.21.0","@lexical/code":"^0.21.0","@lexical/link":"^0.21.0","@lexical/list":"^0.21.0","@lexical/react":"^0.21.0","@lexical/utils":"^0.21.0","@lexical/markdown":"^0.21.0","@lexical/rich-text":"^0.21.0","@lexical/selection":"^0.21.0"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.3.5","react":"^19.0.0","react-dom":"^19.0.0","typescript":"^5.6.3","@types/react":"^19.0.0","@types/react-dom":"^19.0.0","@cosmocart/blog-shared-types":"0.0.0"},"peerDependencies":{"react":"^18 || ^19","react-dom":"^18 || ^19"},"_npmOperationalInternal":{"tmp":"tmp/blog-editor_0.1.0_1778450407422_0.05036629092700218","host":"s3://npm-registry-packages-npm-production"}},"0.1.2":{"name":"@cosmocart/blog-editor","version":"0.1.2","description":"Lexical-based visual editor for cosmo-blog. Notion-style block editing with realtime autosave.","license":"AGPL-3.0-only","type":"module","main":"./dist/index.cjs","module":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"},"./styles.css":"./dist/styles.css"},"sideEffects":["**/*.css"],"peerDependencies":{"react":"^18 || ^19","react-dom":"^18 || ^19"},"dependencies":{"@lexical/code":"^0.21.0","@lexical/link":"^0.21.0","@lexical/list":"^0.21.0","@lexical/markdown":"^0.21.0","@lexical/react":"^0.21.0","@lexical/rich-text":"^0.21.0","@lexical/selection":"^0.21.0","@lexical/utils":"^0.21.0","lexical":"^0.21.0"},"devDependencies":{"@types/react":"^19.0.0","@types/react-dom":"^19.0.0","react":"^19.0.0","react-dom":"^19.0.0","tsup":"^8.3.5","typescript":"^5.6.3","@cosmocart/blog-shared-types":"0.0.0"},"scripts":{"build":"tsup && node scripts/copy-css.mjs","dev":"tsup --watch --onSuccess \"node scripts/copy-css.mjs\"","test":"echo \"no tests yet\"","lint":"echo \"no lint yet\""},"_id":"@cosmocart/blog-editor@0.1.2","_integrity":"sha512-PBQX+fx5L0Fq+kx6g0a+cL+rlhrEKM5icMzm1OcqPicY041nlRJQ8XsL0FrF5NZrdm9DFq5T0DF9M+jC4o455g==","_resolved":"/tmp/67da65523d9f93b4ca3fb013b0f12058/cosmocart-blog-editor-0.1.2.tgz","_from":"file:cosmocart-blog-editor-0.1.2.tgz","_nodeVersion":"22.23.1","_npmVersion":"10.9.8","dist":{"integrity":"sha512-PBQX+fx5L0Fq+kx6g0a+cL+rlhrEKM5icMzm1OcqPicY041nlRJQ8XsL0FrF5NZrdm9DFq5T0DF9M+jC4o455g==","shasum":"060819aa543dab3b8b4c01dc3c65edfe45eb5b4d","tarball":"https://registry.npmjs.org/@cosmocart/blog-editor/-/blog-editor-0.1.2.tgz","fileCount":10,"unpackedSize":1131373,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCICsfDcMGvKQ8su6MQDT9Z8Z2264a31qpjaFctd3aab2aAiEAqhfJEuThlTd6/Zdvg7QTB8vEyWOXZcmyTJ2f/h4O2o8="}]},"_npmUser":{"name":"cosmocart","email":"deniellalla@gmail.com"},"directories":{},"maintainers":[{"name":"cosmocart","email":"deniellalla@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/blog-editor_0.1.2_1785634661084_0.4146159306955639"},"_hasShrinkwrap":false}},"time":{"created":"2026-05-10T22:00:07.303Z","modified":"2026-08-02T01:37:41.384Z","0.1.0":"2026-05-10T22:00:07.635Z","0.1.2":"2026-08-02T01:37:41.234Z"},"license":"AGPL-3.0-only","description":"Lexical-based visual editor for cosmo-blog. Notion-style block editing with realtime autosave.","maintainers":[{"name":"cosmocart","email":"deniellalla@gmail.com"}],"readme":"# @cosmocart/blog-editor\n\nLexical-based visual editor for cosmo-blog. Web-first; the renderer (`@cosmocart/blog-renderer`) handles cross-platform / RNW.\n\n```tsx\nimport { BlogEditor } from '@cosmocart/blog-editor'\nimport '@cosmocart/blog-editor/styles.css'\n\n<BlogEditor\n  initialDocument={post.blocks}\n  onChange={(doc, plainText) => save(doc)}\n/>\n```\n\nThe editor's serialized state is the same JSON shape consumed by `@cosmocart/blog-renderer` — what you see in the editor is what you get on the published page.\n","readmeFilename":"README.md"}