@templatical/import-stripo
v0.51.0
Published
Convert Stripo email templates to Templatical format
Maintainers
Readme
@templatical/import-stripo
Convert Stripo email templates to Templatical format.
Reads either surface Stripo produces:
- Plugin / editor storage —
{ html, css }fromgetTemplateData()(esd-*class attributes). - Compiled export — File → HTML (
es-wrapper/es-left/es-button, noesd-*on elements).
The converter auto-detects which one you passed. There is no mode flag.
Install
npm install @templatical/import-stripoUsage
import { convertStripoTemplate } from "@templatical/import-stripo";
// Plugin host (what you stored from getTemplateData):
const { content, report } = convertStripoTemplate(html, { css });
// Marketer File → HTML export:
const exported = convertStripoTemplate(fileHtml);License
MIT
