segmentio/khaos — pull request #62 by gjohnson (2014-11-05 17:51:06+00:00)
Title: Fix plugin api

There didn't seem to actually be a `.use(fn)` method exposed, so I added it... but it's a bit opinionated due to my use case and simply adds all plugins to run *before* the internal plugins. This is because my use case need to add new properties to `metalsmith.metadata()` prior to the internal plugins.

cc: @ianstormtaylor