commit | a5efd5f3a3a9db56f6d6d76352a30e5a86c84ef8 | [log] [tgz] |
---|---|---|
author | Sven Lito <me@svenlito.com> | Thu Oct 03 16:33:11 2013 +0100 |
committer | Jan Lehnardt <jan@apache.org> | Thu Oct 03 17:45:40 2013 +0200 |
tree | bc2ee9c491720e5b5c6cfb0fb2e08886b55d89f8 | |
parent | 9a1250ea8eb83abd299ea074bb9ec86c9c081b5f [diff] |
move module exports past function decrarations
CouchJS is a command-line Node.js program. It is 100% compatible with Apache CouchDB's built-in JavaScript system.
By using CouchJS, you will get 100% CouchDB compatibility (the test suite completely passes) but your JavaScript environment is V8, or Node.js.
See share/doc/src/experimental.rst for installation instructions.
JavaScript is decoupled from the CouchDB core. To do JavaScript stuff, CouchDB runs a normal Unix subprocess, couchjs
. This subprocess is just a read-eval-print loop on standard i/o. CouchDB passes couchjs
a file name, and that file contains the view server implementation.
This tool duplicates the “REPL” look and feel of couchjs
and supports the exact same view server implementation.
I have no idea. I would not trust it for production use.
If you create a file, /tmp/couchjs.log
then couchjs will output debugging messages there.
Apache 2.0
See the Apache 2.0 license.