Neko Script - Fe - Today
purr CatButton(props) return ( <button onclick=props.onClick> props.label 🐾 </button> );
While it may not replace enterprise Angular apps tomorrow, for teams looking to ship fast, animate beautifully, and actually enjoy writing front-end code, Neko Script - FE - is the cat’s meow. Neko Script - FE -
// Listen in another component NekoBus.on('fish:caught', (data) => nya totalFish += data.weight; ); Neko Script - FE - is 100% interoperable with JS. Use the @js directive to embed vanilla JavaScript: purr CatButton(props) return ( <button onclick=props
Compile with neko build . The output is standard HTML, CSS, and JS, deployable to any static host. The "Neko Bus" (Global State Management) For complex apps, Neko Script - FE - provides a built-in event bus called the Neko Bus. It works like a centralized meow relay. The output is standard HTML, CSS, and JS,
Event listeners are attached using the meow: prefix, which automatically handles cleanup on component unmount.
return ( <div class="cat-card"> <h2>🐱 name</h2> <p>Laps given: lapCount</p> <button meow:click=giveLap> Scratch Ears </button> </div> );
In main.nks :