couchdb - Can I include npm (or similar) modules inside Couch views? -
i want run npm module part of map function. realise it's possible include commonjs-style modules strings within view document. including whole npm module in way along dependencies little impractical. there way include npm modules external files?
not @ moment, no. have use commonjs method suggesting. warned might have compile module , dependencies 1 body of js effective, , not node behaviors found in couchdb since uses different engine.
as dominic mentions, there has been lot of discussion on topic last year or so.
Comments
Post a Comment