1.0.0 • Published 5 years ago

amalgam-parser v1.0.0

Weekly downloads
3
License
MIT
Repository
github
Last release
5 years ago

Amalgam Parser

Parser for Amalgam UI to support MPA.

To be used in conjunction with Stimulus JS controllers and Turbolinks.

The parser allows Node JS server to parse templates authored by CMS systems like AEM, XM, Wordpress, Drupal etc. and mount/ hydrate components authored in Angular/ React/ Vue etc. thus allowing for seamless MPA <-> SPA convervsion.

Have a look at the unit tests to understand how the parser can be used to iterate over a template really quickly. It also gives you a glimse into the helper functions and options that can be provided to the parser.

API

The API documentation can be found here