mirror of
https://github.com/mgerb/mywebsite
synced 2026-01-12 10:52:47 +00:00
updated package.json
This commit is contained in:
24
node_modules/cliff/examples/put-object.js
generated
vendored
Normal file
24
node_modules/cliff/examples/put-object.js
generated
vendored
Normal file
@@ -0,0 +1,24 @@
|
||||
/*
|
||||
* put-object.js: Example usage for `cliff.putObject`.
|
||||
*
|
||||
* (C) 2010, Nodejitsu Inc.
|
||||
*
|
||||
*/
|
||||
|
||||
var cliff = require('../lib/cliff');
|
||||
|
||||
cliff.putObject({
|
||||
literal: "bazz",
|
||||
arr: [
|
||||
"one",
|
||||
2,
|
||||
],
|
||||
obj: {
|
||||
host: "localhost",
|
||||
port: 5984,
|
||||
auth: {
|
||||
username: "admin",
|
||||
password: "password"
|
||||
}
|
||||
}
|
||||
});
|
||||
Reference in New Issue
Block a user