{"library":"lunet-transpiler","title":"Lunet Transpiler","description":"The Lunet Transpiler is a build tool for the Lunet web frontend library (version 0.0.8, pre-release). It transpiles Lunet components or templates into standard JavaScript/HTML/CSS for browser consumption. Key differentiator: designed specifically for the Lunet ecosystem, offering custom syntax and optimizations not available in general-purpose transpilers like Babel. Release cadence is unstable as it is still in early development; breaking changes are expected between minor versions. Not suitable for production use yet.","language":"javascript","status":"active","last_verified":"Fri May 01","install":{"commands":["npm install lunet-transpiler"],"cli":{"name":"lunet","version":null}},"imports":["import { transpile } from 'lunet-transpiler'","import { compile } from 'lunet-transpiler'","import transpiler from 'lunet-transpiler'"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"import { transpile } from 'lunet-transpiler';\n\nconst input = `\n<template>\n  <div>{message}</div>\n</template>\n<script>\nexport default {\n  data() {\n    return { message: 'Hello, Lunet!' };\n  }\n}\n</script>`;\n\nconst output = transpile(input, { module: true, sourceMap: false });\nconsole.log(output.code);","lang":"javascript","description":"Transpiles a simple Lunet component template into JavaScript code, demonstrating basic usage of the transpile function.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}