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

Popular posts from this blog

python - Subclassed QStyledItemDelegate ignores Stylesheet -

java - HttpClient 3.1 Connection pooling vs HttpClient 4.3.2 -

SQL: Divide the sum of values in one table with the count of rows in another -