I really like the approach we did for handlebars-helper-intl https://github.com/apipkin/handlebars-helper-intl/blob/6ab3c00304bf235029a13ce50d47651c43db7491/lib/helpers.js#L15

How does that sound for intl-messageformat?