johnbrett / calibrate

Micro Library for providing a uniform JSON output for RESTful APIs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Glue integration

AVVS opened this issue · comments

https://www.npmjs.com/package/glue only accepts strings to be required as a plugin module, so could you move decorate to module.exports and default to some prop?

Hey @AVVS, great spot on this, looking into it now. Sorry for delay.

Hey @AVVS. I've pushed a new version now, you should be able to add calibrate to your manifest via the string:

calibrate/decorate

now. Let me know if you have any issues.