[x] Make optimize and namespaceIds functions (transformers) use the same (content, options) argument order
[x] Use function currying and composition to simplify transformation of output
This should make it easier to add further transformation functions as needed, instead of creating new variable names each time we transform the output...
optimize
andnamespaceIds
functions (transformers) use the same(content, options)
argument orderThis should make it easier to add further transformation functions as needed, instead of creating new variable names each time we transform the output...