{"library":"secst","title":"SECST","description":"SECST (Semantic, Extensible, Computational, Styleable Tagged markup) is a markup language and HTML transpiler for creating interactive documents. The current version is 0.0.3-alpha, with infrequent updates. It is designed for joyfully creating compelling documents backed by HTML, aiming to be more extensible and computational than Markdown. Key differentiators include a custom tag syntax, runtime interactivity, and styleability. The project is in early alpha, so expect instability and limited documentation.","language":"javascript","status":"active","last_verified":"Fri May 01","install":{"commands":["npm install secst"],"cli":{"name":"secst","version":null}},"imports":["import secst from 'secst'","import { compile } from 'secst'","import { render } from 'secst'","import { SECSTRuntime } from 'secst'"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"import { compile } from 'secst';\nimport fs from 'fs';\n\nconst source = `<p>Hello, <strong>World</strong>!</p>`;\nconst html = compile(source);\nconsole.log(html);\n// Output: <p>Hello, <strong>World</strong>!</p>\n\n// With custom tags:\nconst sourceWithTag = `<greeting>Hi, <name>Alice</name></greeting>`;\nconst htmlWithTag = compile(sourceWithTag, { tags: { greeting: (children) => `<div class='greeting'>${children}</div>`, name: (children) => `<span class='name'>${children}</span>` }});\nconsole.log(htmlWithTag);\n// Output: <div class='greeting'>Hi, <span class='name'>Alice</span></div>","lang":"typescript","description":"Demonstrates basic compile usage with and without custom tags, showing SECST to HTML transformation.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}