This module depends on plur in order to pluralise words. In turn, plur imports this long list of irregular plurals, none of which are relevant to pretty-ms since it doesn't need to know that the plural of 'goose' is 'geese'.
By replacing that import with the following line...
const plur = (word, count) => count === 1 ? word : word + 's';
...we can shrink the size of the package by about two thirds (depending on how exactly you minify and compress). For Rollup users, it also means that they don't need to use rollup-plugin-json to consume this module.
This module depends on plur in order to pluralise words. In turn, plur imports this long list of irregular plurals, none of which are relevant to pretty-ms since it doesn't need to know that the plural of 'goose' is 'geese'.
By replacing that import with the following line...
...we can shrink the size of the package by about two thirds (depending on how exactly you minify and compress). For Rollup users, it also means that they don't need to use rollup-plugin-json to consume this module.