05062">https://gist.github.com/gmarik/1305062</a></li>
</ul>
<h2 id="create-database">Create Database</h2>
<p>Check if a database exists, if it does not, create it:</p>
<pre><code>    var makeDatabase = function(response, dbName) {
        nano.db.create(dbName, function(err, body) {
            if (!err) {
                console.log(body);
                // return { &quot;Result&quot; : &quot;Success&quot; };
            } else {
                console.log(&#39;Could not create database&#39;);
         