amalgam-parser
v1.0.0
Published
Parser for Amalgam UI to support MPA to SPA conversion
Downloads
4
Maintainers
Readme
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