1/* 2 * put-object.js: Example usage for `cliff.putObject`. 3 * 4 * (C) 2010, Nodejitsu Inc. 5 * 6 */ 7 8var cliff = require('../lib/cliff'); 9 10cliff.putObject({ 11 literal: "bazz", 12 arr: [ 13 "one", 14 2, 15 ], 16 obj: { 17 host: "localhost", 18 port: 5984, 19 auth: { 20 username: "admin", 21 password: "password" 22 } 23 } 24}); 25