Make module public for npm
NTFY-19: add common metrics logic