{"_id":"@beautiful-eyes/template-compiler","_rev":"8-b059f0bf087faf8a9cb0ab666a45db3d","name":"@beautiful-eyes/template-compiler","dist-tags":{"latest":"1.0.8"},"versions":{"1.0.0":{"name":"@beautiful-eyes/template-compiler","version":"1.0.0","keywords":[],"author":"","license":"ISC","_id":"@beautiful-eyes/template-compiler@1.0.0","maintainers":[{"name":"amreshkumar","email":"Kamresh485@gmail.com"}],"homepage":"https://github.com/AmKreta/Beautiful-Eyes#readme","bugs":{"url":"https://github.com/AmKreta/Beautiful-Eyes/issues"},"dist":{"shasum":"06383910acdc80cb785905fbe0252339a94753bb","tarball":"https://registry.npmjs.org/@beautiful-eyes/template-compiler/-/template-compiler-1.0.0.tgz","fileCount":49,"integrity":"sha512-i+YslVbecGE5QGxZj/UMyN/ufl+WzEL3uIl5wdXecIXVM5nXVm1QM/Ijx4oepR9YYbF1vQnKdpot10iJfBlCsQ==","signatures":[{"sig":"MEUCIQCcrSoazQsB7oNv96LftPFRWObGlx9bMRUNmhKfMKEAFwIgSGb6sSsROajwxoDmbFyzTvcfZESSbpiadR+gK9ohBxE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@beautiful-eyes%2ftemplate-compiler@1.0.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":96452},"main":"index.js","gitHead":"28b3b3dc462bf06e48162791f29e278207f158f6","scripts":{"run":"npm run build && node dist/index.js","test":"echo \"Error: no test specified\" && exit 1","build":"tsc"},"_npmUser":{"name":"amreshkumar","email":"Kamresh485@gmail.com"},"repository":{"url":"git+https://github.com/AmKreta/Beautiful-Eyes.git","type":"git","directory":"packages/template-compiler"},"_npmVersion":"10.8.2","directories":{},"_nodeVersion":"20.20.2","dependencies":{"@beautiful-eyes/lib":"*"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{},"_npmOperationalInternal":{"tmp":"tmp/template-compiler_1.0.0_1787381305773_0.11858965983547898","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@beautiful-eyes/template-compiler","version":"1.0.1","keywords":[],"author":"","license":"ISC","_id":"@beautiful-eyes/template-compiler@1.0.1","maintainers":[{"name":"amreshkumar","email":"Kamresh485@gmail.com"}],"homepage":"https://github.com/AmKreta/Beautiful-Eyes#readme","bugs":{"url":"https://github.com/AmKreta/Beautiful-Eyes/issues"},"dist":{"shasum":"27015a00a8effaef3f97f00e524f0ad0dc409705","tarball":"https://registry.npmjs.org/@beautiful-eyes/template-compiler/-/template-compiler-1.0.1.tgz","fileCount":50,"integrity":"sha512-UfpW9FJhWiSEttmpuylmz/QZhA77fhNhXdg+5n3BY5LyEvvSFe0b1LAlYSHqUYTvnrxx0vDewuRzA0uA2I/Gvw==","signatures":[{"sig":"MEQCIGIsG+FSc8wRV4RMEzYQT/mDjLNdS4u1LbGg3wewEkRuAiBv3TgMOfx+m1Xh5GwdVBrIlMfnvCLQQd0QhXTB3murmg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@beautiful-eyes%2ftemplate-compiler@1.0.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":97654},"main":"index.js","gitHead":"c26ec8dfae4fc899d954c62fbaac687aeb957873","scripts":{"run":"npm run build && node dist/index.js","test":"echo \"Error: no test specified\" && exit 1","build":"tsc"},"_npmUser":{"name":"amreshkumar","email":"Kamresh485@gmail.com"},"repository":{"url":"git+https://github.com/AmKreta/Beautiful-Eyes.git","type":"git","directory":"packages/template-compiler"},"_npmVersion":"10.8.2","description":"Webpack loader that compiles Beautiful Eyes .template.be files into JS modules.","directories":{},"_nodeVersion":"20.20.2","dependencies":{"@beautiful-eyes/lib":"*"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{},"_npmOperationalInternal":{"tmp":"tmp/template-compiler_1.0.1_1787381803578_0.3224558952572132","host":"s3://npm-registry-packages-npm-production"}},"1.0.2":{"name":"@beautiful-eyes/template-compiler","version":"1.0.2","keywords":[],"author":"","license":"ISC","_id":"@beautiful-eyes/template-compiler@1.0.2","maintainers":[{"name":"amreshkumar","email":"Kamresh485@gmail.com"}],"homepage":"https://beautiful-eyes.netlify.app/","bugs":{"url":"https://github.com/AmKreta/Beautiful-Eyes/issues"},"dist":{"shasum":"80b381739dff5cad016cf1523bdc9dfdddc14ac8","tarball":"https://registry.npmjs.org/@beautiful-eyes/template-compiler/-/template-compiler-1.0.2.tgz","fileCount":72,"integrity":"sha512-Liqe2njTFhSAKALvvjE+l8mIdllFvrzbCFkLLoaK4TnKiW4Olb0AVuySjcQc6N1yIbnheKT0dDIr6m6Kl79rlA==","signatures":[{"sig":"MEUCIErMWlQKTNgybKd7aZs2/KAfe48oJ1NomhHan9zCUhnzAiEAzl32s8p73/SoMgep3rxFgadqwqR2DpPpQbV+sBd6QyU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@beautiful-eyes%2ftemplate-compiler@1.0.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":146982},"main":"index.js","gitHead":"3e9e81c9373802810449f0822ed19a6029bf4a10","scripts":{"run":"npm run build && node dist/index.js","test":"echo \"Error: no test specified\" && exit 1","build":"tsc"},"_npmUser":{"name":"amreshkumar","email":"Kamresh485@gmail.com"},"repository":{"url":"git+https://github.com/AmKreta/Beautiful-Eyes.git","type":"git","directory":"packages/template-compiler"},"_npmVersion":"10.8.2","description":"Webpack loader that compiles Beautiful Eyes .template.be files into JS modules.","directories":{},"_nodeVersion":"20.20.2","dependencies":{"@beautiful-eyes/lib":"*"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{},"_npmOperationalInternal":{"tmp":"tmp/template-compiler_1.0.2_1787383976979_0.9401310716555635","host":"s3://npm-registry-packages-npm-production"}},"1.0.3":{"name":"@beautiful-eyes/template-compiler","version":"1.0.3","keywords":[],"author":"","license":"ISC","_id":"@beautiful-eyes/template-compiler@1.0.3","maintainers":[{"name":"amreshkumar","email":"Kamresh485@gmail.com"}],"homepage":"https://beautiful-eyes.netlify.app/","bugs":{"url":"https://github.com/AmKreta/Beautiful-Eyes/issues"},"dist":{"shasum":"f1f25162bbd0952279bf0e644917e809130a9b10","tarball":"https://registry.npmjs.org/@beautiful-eyes/template-compiler/-/template-compiler-1.0.3.tgz","fileCount":72,"integrity":"sha512-qg6N0S8kufuTR8rmpmBIhFQzGUDW4xT31WfjlRWptWuQYwukrvIccgcXLnem2HRR5ciu+kTu92YeBYmSkI+X8g==","signatures":[{"sig":"MEUCIA9a2OxmPQBGRLDJxXTZIwDQZrZ+1EFydGKemGWb2Du9AiEAvt01/Xa9iSIBwYXfnE0uhk6Pt0vfSze551/NpNokiVU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@beautiful-eyes%2ftemplate-compiler@1.0.3","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":146982},"main":"index.js","gitHead":"398fd91f888fd20f99cd0ea37fe6b3fa9af81008","scripts":{"run":"npm run build && node dist/index.js","test":"echo \"Error: no test specified\" && exit 1","build":"tsc"},"_npmUser":{"name":"amreshkumar","email":"Kamresh485@gmail.com"},"repository":{"url":"git+https://github.com/AmKreta/Beautiful-Eyes.git","type":"git","directory":"packages/template-compiler"},"_npmVersion":"10.8.2","description":"Webpack loader that compiles Beautiful Eyes .template.be files into JS modules.","directories":{},"_nodeVersion":"20.20.2","dependencies":{"@beautiful-eyes/lib":"*"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{},"_npmOperationalInternal":{"tmp":"tmp/template-compiler_1.0.3_1787384751245_0.10652475796494265","host":"s3://npm-registry-packages-npm-production"}},"1.0.4":{"name":"@beautiful-eyes/template-compiler","version":"1.0.4","keywords":[],"author":"","license":"ISC","_id":"@beautiful-eyes/template-compiler@1.0.4","maintainers":[{"name":"amreshkumar","email":"Kamresh485@gmail.com"}],"homepage":"https://beautiful-eyes.netlify.app/","bugs":{"url":"https://github.com/AmKreta/Beautiful-Eyes/issues"},"dist":{"shasum":"6ea7296014eaab6740e9f233d7551411109e6415","tarball":"https://registry.npmjs.org/@beautiful-eyes/template-compiler/-/template-compiler-1.0.4.tgz","fileCount":49,"integrity":"sha512-cL61qO3V4J+aF72gwD4t7yf76Ysj3XowW2EmSsJvOejhnaLkarGckD53H89GacsfPQZL/kiN43YxWKF6lKjY5w==","signatures":[{"sig":"MEUCIQCWMrHWwf2dz8JGJ8hDkU0ATNwqjqtVDK+25sZVO11jvgIgTf+nLj6uqWEdJ4Ukn0qPau4pURn4RhzvEs8TvrYOfCw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@beautiful-eyes%2ftemplate-compiler@1.0.4","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":97712},"main":"dist/index.js","gitHead":"1abc436465c9995c286cbf510bd6a66601f93711","scripts":{"run":"npm run build && node dist/index.js","test":"echo \"Error: no test specified\" && exit 1","build":"tsc"},"_npmUser":{"name":"amreshkumar","email":"Kamresh485@gmail.com"},"repository":{"url":"git+https://github.com/AmKreta/Beautiful-Eyes.git","type":"git","directory":"packages/template-compiler"},"_npmVersion":"10.8.2","description":"Webpack loader that compiles Beautiful Eyes .template.be files into JS modules.","directories":{},"_nodeVersion":"20.20.2","dependencies":{"@beautiful-eyes/lib":"*"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{},"_npmOperationalInternal":{"tmp":"tmp/template-compiler_1.0.4_1787841597666_0.45636993671549786","host":"s3://npm-registry-packages-npm-production"}},"1.0.5":{"name":"@beautiful-eyes/template-compiler","version":"1.0.5","keywords":[],"author":"","license":"ISC","_id":"@beautiful-eyes/template-compiler@1.0.5","maintainers":[{"name":"amreshkumar","email":"Kamresh485@gmail.com"}],"homepage":"https://beautiful-eyes.netlify.app/","bugs":{"url":"https://github.com/AmKreta/Beautiful-Eyes/issues"},"dist":{"shasum":"d7e900396454d0a367391752646ffb126e12544b","tarball":"https://registry.npmjs.org/@beautiful-eyes/template-compiler/-/template-compiler-1.0.5.tgz","fileCount":49,"integrity":"sha512-Lf5+ZDfIS/Ta22SZdVkbiock7+MQeVznKqrZ3kbedowfObVFZmXS3s7qDXSu6qOfxdeO4cmPIM2SjH6b18FKWA==","signatures":[{"sig":"MEUCIAxAFpcFe9heQlwJFXPQnplHkpZLbvYCzNx9T9Iqp6duAiEAzSHBz+SKzEm9nrSj2LbZ41bQN3xJqLMHabOZtCEFoSM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@beautiful-eyes%2ftemplate-compiler@1.0.5","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":97712},"main":"dist/index.js","gitHead":"13bcfbd339647e44cace0911339784bcd9edb5ac","scripts":{"run":"npm run build && node dist/index.js","test":"echo \"Error: no test specified\" && exit 1","build":"tsc"},"_npmUser":{"name":"amreshkumar","email":"Kamresh485@gmail.com"},"repository":{"url":"git+https://github.com/AmKreta/Beautiful-Eyes.git","type":"git","directory":"packages/template-compiler"},"_npmVersion":"10.8.2","description":"Webpack loader that compiles Beautiful Eyes .template.be files into JS modules.","directories":{},"_nodeVersion":"20.20.2","dependencies":{"@beautiful-eyes/lib":"*"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{},"_npmOperationalInternal":{"tmp":"tmp/template-compiler_1.0.5_1787843587545_0.8647191558782432","host":"s3://npm-registry-packages-npm-production"}},"1.0.7":{"name":"@beautiful-eyes/template-compiler","version":"1.0.7","keywords":[],"author":"","license":"ISC","_id":"@beautiful-eyes/template-compiler@1.0.7","maintainers":[{"name":"amreshkumar","email":"Kamresh485@gmail.com"}],"homepage":"https://beautiful-eyes.netlify.app/","bugs":{"url":"https://github.com/AmKreta/Beautiful-Eyes/issues"},"dist":{"shasum":"2640f58a177770e2f5ee53458be953a00b25b87a","tarball":"https://registry.npmjs.org/@beautiful-eyes/template-compiler/-/template-compiler-1.0.7.tgz","fileCount":49,"integrity":"sha512-sZbDtQry1sFcNVV4edaZM3TxHKZv8IDwrsYm3ZJf3q4eOsKNN6y/u5kZLTEJ8XGOo/lnAYNyKNC3kyJ//vBGFA==","signatures":[{"sig":"MEQCIGxjaUZ1J9rkwYtaLpO3qhVx5iXh668jGzMIqKikWyA5AiAJhv5p2T2HhB+ckD4ziBrH+E7cDt4bEBzTyN4d2jQXJw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@beautiful-eyes%2ftemplate-compiler@1.0.7","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":97712},"main":"dist/index.js","gitHead":"64de7eb9d40ca3997f014a2926bd1e8fabc20ed0","scripts":{"run":"npm run build && node dist/index.js","test":"echo \"Error: no test specified\" && exit 1","build":"tsc"},"_npmUser":{"name":"amreshkumar","email":"Kamresh485@gmail.com"},"repository":{"url":"git+https://github.com/AmKreta/Beautiful-Eyes.git","type":"git","directory":"packages/template-compiler"},"_npmVersion":"10.8.2","description":"Webpack loader that compiles Beautiful Eyes .template.be files into JS modules.","directories":{},"_nodeVersion":"20.20.2","dependencies":{"@beautiful-eyes/lib":"*"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{},"_npmOperationalInternal":{"tmp":"tmp/template-compiler_1.0.7_1787845268757_0.4558445633996364","host":"s3://npm-registry-packages-npm-production"}},"1.0.8":{"name":"@beautiful-eyes/template-compiler","version":"1.0.8","description":"Webpack loader that compiles Beautiful Eyes .template.be files into JS modules.","main":"dist/index.js","publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/AmKreta/Beautiful-Eyes.git","directory":"packages/template-compiler"},"homepage":"https://beautiful-eyes.netlify.app/","devDependencies":{},"scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"tsc","run":"npm run build && node dist/index.js"},"keywords":[],"author":"","license":"ISC","dependencies":{"@beautiful-eyes/lib":"*"},"_id":"@beautiful-eyes/template-compiler@1.0.8","gitHead":"38a8b16635339ec1dae26fd505b1e46540f26ec6","types":"./dist/index.d.ts","bugs":{"url":"https://github.com/AmKreta/Beautiful-Eyes/issues"},"_nodeVersion":"20.20.2","_npmVersion":"10.8.2","dist":{"integrity":"sha512-xJsfVlzkvup65iYi71ZjtDXrP7ijseLNGd3bDIDQJ/LCN1Dai28GQPFxR6zu0NB+D1wV52CJHKuXg9MtQKzbxw==","shasum":"554d10f143ea2c0fc2b869e25d5dd3b8ff3b0d0a","tarball":"https://registry.npmjs.org/@beautiful-eyes/template-compiler/-/template-compiler-1.0.8.tgz","fileCount":72,"unpackedSize":109890,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@beautiful-eyes%2ftemplate-compiler@1.0.8","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIBBQZ8f3OfcYwvv9oPAxgnfwe8dgy10HGfQ8JOQIxArFAiEA17yzDFsnIoMck2udRLNGZdqXkLyc2h+TrXJV0U/PiFI="}]},"_npmUser":{"name":"amreshkumar","email":"Kamresh485@gmail.com"},"directories":{},"maintainers":[{"name":"amreshkumar","email":"Kamresh485@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/template-compiler_1.0.8_1787846072133_0.7651094087192052"},"_hasShrinkwrap":false}},"time":{"created":"2026-08-22T06:48:25.634Z","modified":"2026-08-27T15:54:32.664Z","1.0.0":"2026-08-22T06:48:25.911Z","1.0.1":"2026-08-22T06:56:43.714Z","1.0.2":"2026-08-22T07:32:57.121Z","1.0.3":"2026-08-22T07:45:51.364Z","1.0.4":"2026-08-27T14:39:57.812Z","1.0.5":"2026-08-27T15:13:07.690Z","1.0.7":"2026-08-27T15:41:08.909Z","1.0.8":"2026-08-27T15:54:32.302Z"},"bugs":{"url":"https://github.com/AmKreta/Beautiful-Eyes/issues"},"license":"ISC","homepage":"https://beautiful-eyes.netlify.app/","keywords":[],"repository":{"type":"git","url":"git+https://github.com/AmKreta/Beautiful-Eyes.git","directory":"packages/template-compiler"},"description":"Webpack loader that compiles Beautiful Eyes .template.be files into JS modules.","maintainers":[{"name":"amreshkumar","email":"Kamresh485@gmail.com"}],"readme":"# @beautiful-eyes/template-compiler\n\nWebpack loader that compiles [Beautiful Eyes](https://beautiful-eyes.netlify.app/) `.template.be` files into a JS module: lexer → parser → AST → stringify visitor.\n\nThe emitted array is what `View` in `@beautiful-eyes/core` walks at runtime. The browser never sees the source text.\n\n```sh\nnpm install @beautiful-eyes/template-compiler\n```\n\n```js\n// webpack.config.js\nmodule.exports = {\n  module: {\n    rules: [\n      {\n        test: /\\.template\\.be$/,\n        use: ['@beautiful-eyes/template-compiler/dist/index.js']\n      }\n    ]\n  }\n};\n```\n\n```ts\nimport template from './counter.template.be';\n// template is [{ type: 0, name: 'button', children: [ function(){ return this.count } ], ... }]\n```\n\nRebuild this package (`npm run build -w @beautiful-eyes/template-compiler`) after lexer or parser changes. The loader entry is `dist/index.js`.\n\n- Docs: [beautiful-eyes.netlify.app](https://beautiful-eyes.netlify.app/) (Contributing tab)\n- Source: [github.com/AmKreta/Beautiful-Eyes](https://github.com/AmKreta/Beautiful-Eyes/tree/master/packages/template-compiler)\n","readmeFilename":"README.md"}