@ivy-js/iv
TypeScript icon, indicating that this package has built-in type declarations

0.4.0 • Public • Published

ivy

ivy (aka. iv) is a lightweight JS template engine mixing concepts from ReactJS, Angular2 and Incremental DOM.

It is based on two independent pillars: on one hand, a template syntax named XJS that was designed as a refinement of React's JSX and, on the other hand, a state-management library (trax) that allows to track changes in data objects.

ivy introduces many new concepts, such as

  • templates as functions, that can be read as a sequence of JavaScript statements
  • js statements for loops, conditional blocks, local variables, etc.
  • param nodes to support advanced component APIs with multiple named content blocks
  • decorators to combine multiple behaviors on a same elements (or components)
  • labels to retrieve references to generated HTML elements (or components)
  • CMS content support - to dynamically interpret template fragments served by a CMS
  • pre-processors to inject or modify a template content a compilation time

Please visit ivy documentation page for more details and examples


Code and documentation licensed under MIT

Copyright © 2020 Amadeus SAS

Readme

Keywords

none

Package Sidebar

Install

npm i @ivy-js/iv

Weekly Downloads

0

Version

0.4.0

License

MIT

Unpacked Size

1.73 MB

Total Files

507

Last publish

Collaborators

  • divdavem
  • benouat
  • b-laporte