Advertisement
Guest User

Untitled

a guest
Oct 19th, 2016
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Cloudant = require('cloudant');
  2.  
  3. Cloudant({hostname:"cloudant.dev", username:"admin", password:"pass"}, function(er, cloudant, reply) {
  4.   if (er)
  5.     throw er
  6.  
  7.   console.log('Connected with username: %s', reply.userCtx.name)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement