A living template engine for creating data-driven components based on dirty-checking data binding, similar to AngularJS but with a string-based template approach. Current stable version is 0.6.2 (released 2018, no recent updates). It provides self-contained components, directives, filters, events, and animations out of the box. Differentiated by its string-based templates that support conditional directives (like if/else) within attributes, enabling flexible composable components.
npm install regularjsNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Creates a simple Regular component with two-way data binding via r-model and renders it to the page.
Use immutable data or consider alternative frameworks for heavy reactivity.
Consider using an actively maintained alternative like Vue.js or Svelte.
Use backticks or concatenation for multi-line templates.
Ensure data contains the property with a value matching an option.
Use import Regular from 'regularjs' or const Regular = require('regularjs').Ensure $inject is called after the DOM is ready, e.g., in a script at end of body or DOMContentLoaded.
Run npm install regularjs in the project directory.
No dependency data recorded yet.