pouchdb-seed-design now supports any type of JSON document as a design doc. It will automatically convert any function in the tree to a string and compare the documents to determine if an update is necessary.
Also added browser support. The browser version exports window.pouchSeed
.