amalgam-parser
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

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

Package Sidebar

Install

npm i amalgam-parser

Weekly Downloads

0

Version

1.0.0

License

MIT

Unpacked Size

771 kB

Total Files

19

Last publish

Collaborators

  • nisheed2016