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

nano

Package Overview
Dependencies
Maintainers
7
Versions
155
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nano - npm Package Compare versions

Comparing version 10.1.2 to 10.1.3

test.js

6

package.json

@@ -7,3 +7,3 @@ {

"repository": "http://github.com/apache/couchdb-nano",
"version": "10.1.2",
"version": "10.1.3",
"author": "Apache CouchDB <dev@couchdb.apache.org> (http://couchdb.apache.org)",

@@ -21,3 +21,3 @@ "keywords": [

"dependencies": {
"axios": "^1.2.2",
"axios": "^1.6.2",
"qs": "^6.11.0",

@@ -30,3 +30,3 @@ "node-abort-controller": "^3.0.1"

"nock": "^13.2.9",
"standard": "^17.0.0",
"standard": "^17.1.0",
"typescript": "^4.8.4"

@@ -33,0 +33,0 @@ },

@@ -507,2 +507,12 @@ [![NPM](http://img.shields.io/npm/v/nano.svg?style=flat-square)](https://www.npmjs.com/package/nano)

### nano.info([callback])
Fetch information about the CouchDB cluster:
```js
const info = await nano.info()
```
The response is an object with [CouchDB cluster information](https://docs.couchdb.org/en/stable/intro/api.html#server).
## Document functions

@@ -591,5 +601,6 @@

```js
const doclist = await alice.list().then((body)
doclist.rows.forEach((doc) => {
console.log(doc);
const doclist = await alice.list().then((body)=>{
body.rows.forEach((doc) => {
console.log(doc);
})
});

@@ -596,0 +607,0 @@ ```

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