Loading templates...
Access templates programmatically using our JSON API:
The API returns all available templates organized by category, including metadata, download URLs, and preview images.
import { templatesApi } from 'texlyre-templates';
// Get all templates
const api = await templatesApi.getTemplates();
// Search templates
const results = await templatesApi.searchTemplates('ieee');
// Get templates by category
const papers = await templatesApi.getTemplatesByCategory('academic');
// Download a template
const blob = await templatesApi.downloadTemplate(template);