
Research
/Security News
77 Firefox Extensions Linked to Crypto Wallet and Credential Theft
Socket uncovered 77 linked Firefox extensions, including 40 that steal wallet secrets or credentials and 37 deceptive sports-score shells.
@templatical/import-unlayer
Advanced tools
Convert Unlayer email templates to Templatical's JSON format.
Migrate from Unlayer (the react-email-editor design JSON) to Templatical without rebuilding your templates by hand. Maps Unlayer content types to Templatical block types and reports anything that needs manual review.
npm install @templatical/import-unlayer
import { convertUnlayerTemplate } from '@templatical/import-unlayer';
// Whatever your Unlayer editor returned from `editor.saveDesign(...)`.
const unlayerJson = await fetch('/path/to/unlayer-design.json').then(r => r.json());
const result = convertUnlayerTemplate(unlayerJson);
console.log(result.content); // → Templatical TemplateContent
console.log(result.report); // → conversion report (per-content status, warnings, summary)
// Inspect content that didn't convert cleanly
for (const entry of result.report.entries) {
if (entry.status !== 'converted') {
console.warn(
`${entry.unlayerContentType} → ${entry.templaticalBlockType ?? 'n/a'} ` +
`(${entry.status})${entry.note ? `: ${entry.note}` : ''}`,
);
}
}
console.log(result.report.summary);
// { total, converted, approximated, htmlFallback, skipped }
| Unlayer content | Templatical block |
|---|---|
| text | ParagraphBlock |
| heading | TitleBlock |
| image | ImageBlock |
| button | ButtonBlock |
| divider | DividerBlock |
| html | HtmlBlock |
| menu | MenuBlock |
| social | SocialIconsBlock |
| video | VideoBlock |
| timer | HtmlBlock (fallback) |
| form | skipped |
| Unknown content | Fallback to HtmlBlock |
Unknown or partially-supported content types are flagged in result.report so you can review them.
convertUnlayerTemplate(template) — converts an Unlayer design JSON, returns { content, report }Types:
UnlayerTemplate — input shape (see source for full structure)ImportResult — { content: TemplateContent, report: ImportReport }ImportReport — { entries: ImportReportEntry[], warnings: string[], summary: { total, converted, approximated, htmlFallback, skipped } }ImportReportEntry — { unlayerContentType, templaticalBlockType, status, note? }ConversionStatus — 'converted' | 'approximated' | 'html-fallback' | 'skipped'Full reference at docs.templatical.com.
MIT
FAQs
Convert Unlayer email templates to Templatical format
The npm package @templatical/import-unlayer receives a total of 444 weekly downloads. As such, @templatical/import-unlayer popularity was classified as not popular.
We found that @templatical/import-unlayer demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Research
/Security News
Socket uncovered 77 linked Firefox extensions, including 40 that steal wallet secrets or credentials and 37 deceptive sports-score shells.

Security News
NIST disclosed an unreleased AI tool called V-etalon and opened a broad inquiry into NVD modernization after years of automation plans produced no public enrichment system.

Security News
In his AI Council 2026 talk, Feross Aboukhadijeh covers recent package compromises, vulnerability discovery, and a more automated security model.