14. Experimental Features¶
This is a list of experimental features in CouchDB. They are included in a release because the development team is requesting feedback from the larger developer community. As such, please play around with these features and send us feedback, thanks!
Use at your own risk! Do not rely on these features for critical applications.
14.1. NodeJS Query Server¶
You will need to install Node.JS version 0.10.0 or later. See Node.JS Downloads for options.
Install the couchjs-node binary. Either from the CouchDB sources:
cd src/couchjs-node npm link
Or via NPM:
npm install -g couchjs
NPM in non-standard locations If your Node.JS installation doesn’t store binaries in /usr/local/bin you will need to adjust CouchDB’s configuration. Add this to your local.ini file:
[query_servers] nodejs = /path/to/couchjs-node /path/to/couchdb/share/server/main.js
And then restart your CouchDB instance.
14.1.2. Differences from the SpiderMonkey Query Server¶
14.3. Content-Security-Policy (CSP) Header Support for /_utils (Fauxton)¶
This will just work with Fauxton, and not Futon. You can enable it in your config: you can enable the feature in general and change the default header that is sent for everything in /_utils.
[csp] enable = true
Then restart CouchDB.