Mountebank Formatters
JSON →mountebank-formatters provides the default parsing and formatting logic for Mountebank test data, enabling the `mb save` and `mb start --configfile` commands to round-trip configuration files. Currently at version 0.0.2, this package was created to modularize Mountebank's dependency on EJS templating. Previously, breaking changes in EJS could not be adopted by Mountebank without breaking existing configurations. By externalizing the default formatter, Mountebank core can now upgrade EJS independently while providing backward compatibility via this module. This package's primary functionality revolves around `load` and `save` functions, which handle reading and writing Mountebank's `--configfile` and saved test data, respectively. It serves as the default formatter but also highlights Mountebank's broader support for custom formatters within the Mountebank ecosystem. The release cadence is directly tied to Mountebank's development needs, as it is a core utility. Key differentiators include its role in maintaining backward compatibility for Mountebank configurations while allowing Mountebank to adopt modern templating engines.
Traffic · last 30 days ↑67% vs prev 7d
top countries 🇺🇸 United States · 🇫🇷 France · 🇨🇦 Canada · 🇦🇺 Australia · 🇩🇪 Germany