{"_id":"@andrianarivo/easy-email-editor","name":"@andrianarivo/easy-email-editor","dist-tags":{"latest":"4.16.3"},"versions":{"4.16.3":{"name":"@andrianarivo/easy-email-editor","license":"MIT","description":"Email editor","version":"4.16.3","author":{"name":"m-Ryan"},"repository":{"type":"git","url":"git+ssh://git@github.com/zalify/easy-email.git"},"keywords":["email editor core"],"main":"lib/index.js","types":"lib/index.d.ts","scripts":{"dev":"vite","typings":"tsc --declaration --emitDeclarationOnly --project tsconfig.lib.json && ./node_modules/.bin/tsc-alias -p tsconfig.alias.json","build":"rimraf lib && pnpm run typings && ./node_modules/.bin/vite build --config vite.config.ts","format":"eslint --fix  --ext .tsx,.ts,.tsx src/"},"husky":{"hooks":{"pre-commit":"yarn test && yarn lint-staged"}},"lint-staged":{"src/*.{js,jsx,ts,tsx}, example/*.{js,jsx,ts,tsx}":["yarn lint"]},"dependencies":{"final-form":"^4.20.4","final-form-arrays":"^3.0.2","final-form-set-field-touched":"^1.0.1","is-hotkey":"^0.2.0","lodash":"^4.17.21","react-final-form-arrays":"^3.1.3","react-use":"^17.3.1"},"devDependencies":{"@types/final-form-set-field-touched":"^1.0.0","@types/is-hotkey":"^0.1.7","@types/lodash":"^4.14.178","@types/node":"^16.11.7","@types/react":"^18.2.2","@types/react-dom":"^18.2.3","@typescript-eslint/eslint-plugin":"^5.22.0","@typescript-eslint/parser":"^4.28.3","eslint":"^7.31.0","eslint-config-prettier":"^8.3.0","eslint-loader":"^4.0.2","eslint-plugin-import":"^2.23.4","eslint-plugin-prettier":"^3.4.0","eslint-plugin-react":"^7.24.0","eslint-plugin-react-hooks":"^4.2.0","mjml-browser":"^4.10.4","react":"^19","react-dom":"^19","react-final-form":"^6.5.7","rimraf":"^3.0.2","sass":"^1.43.4","tsc-alias":"^1.4.1","typescript":"^4.6.3","vite":"^2.6.14"},"peerDependencies":{"@andrianarivo/easy-email-core":"^4.3.6","mjml-browser":"^4.10.4","react":"^19","react-dom":"^19","react-final-form":"^6.5.7"},"gitHead":"2a08e8af15766344de708d891c1c8ea31bb77646","_id":"@andrianarivo/easy-email-editor@4.16.3","bugs":{"url":"https://github.com/zalify/easy-email/issues"},"homepage":"https://github.com/zalify/easy-email#readme","_nodeVersion":"22.18.0","_npmVersion":"10.9.3","dist":{"integrity":"sha512-lgYIakyC3RSorZBanDtyYQCUpmnKiqGA55NkpkNVa9x6Grmb8hQ4bPPdLH8p/yJrY3ky2S7LKtehJJdsuLaWwQ==","shasum":"ceaef08848ebd373302d774a3d29f64959fdfeeb","tarball":"https://registry.npmjs.org/@andrianarivo/easy-email-editor/-/easy-email-editor-4.16.3.tgz","fileCount":81,"unpackedSize":1370334,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDfSUgVpOFmGHZDzibiseFmynJeD0pJU9rpMKMyZRrhzQIhAN0HqEeZiMiM/AggdHTscmnH5HyZzfUPdXCTjBl5k5Au"}]},"_npmUser":{"name":"andrianarivo","email":"andrianarivo.david@gmail.com"},"directories":{},"maintainers":[{"name":"andrianarivo","email":"andrianarivo.david@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/easy-email-editor_4.16.3_1758790702789_0.3520510601060589"},"_hasShrinkwrap":false}},"time":{"created":"2025-09-25T08:58:22.731Z","4.16.3":"2025-09-25T08:58:23.014Z","modified":"2025-09-25T08:58:23.239Z"},"maintainers":[{"name":"andrianarivo","email":"andrianarivo.david@gmail.com"}],"description":"Email editor","homepage":"https://github.com/zalify/easy-email#readme","keywords":["email editor core"],"repository":{"type":"git","url":"git+ssh://git@github.com/zalify/easy-email.git"},"author":{"name":"m-Ryan"},"bugs":{"url":"https://github.com/zalify/easy-email/issues"},"license":"MIT","readme":"# Easy-email-editor\n\n## Introduction\n\nEmail render and preview container.\n\n## usage\n\n```sh\n$ npm install --save easy-email-editor\n```\n\nor\n\n```sh\n$ yarn add easy-email-editor\n```\n\n```js\nimport React from 'react';\nimport { BlockManager } from 'easy-email-core';\nimport { EmailEditor, EmailEditorProvider } from 'easy-email-editor';\nimport 'easy-email-editor/lib/style.css';\n\nconst initialValues = {\n  subject: 'Welcome to Easy-email',\n  subTitle: 'Nice to meet you!',\n  content: BlockManager.getBlockByType(BasicType.PAGE).create({}),\n};\n\nexport function App() {\n  return (\n    <EmailEditorProvider\n      data={initialValues}\n      height={'calc(100vh - 72px)'}\n    >\n      {({ values }) => {\n        return <EmailEditor />;\n      }}\n    </EmailEditorProvider>\n  );\n}\n```\n","readmeFilename":"readme.md","_rev":"1-7f8c74dc80f4eefaa19d1ca0106e7b94"}