Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

couchdb-client

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

couchdb-client - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

2

package.json
{
"name": "couchdb-client",
"version": "1.0.1",
"version": "1.0.2",
"description": "A simple couchdb client",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -6,3 +6,14 @@ # CouchDBClient

```js
var client = require('couchdb-client');
var CouchDBClient = require('couchdb-client');
var client = CouchDBClient({
host: '127.0.0.1',
port: '5984'
});
client.welcome(function (err, data) {
console.log(err || data);
});
client.createDB('test', function (err, data) {
console.log(err || data);
});
```
Now we have created a database in our couchdb instance. If all goes to plan we have a welcome message and a {"ok":true}. We also have a database at http://127.0.0.1:5984/test.
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc