
Security News
Vite Releases Technical Preview of Rolldown-Vite, a Rust-Based Bundler
Vite releases Rolldown-Vite, a Rust-based bundler preview offering faster builds and lower memory usage as a drop-in replacement for Vite.
couchdb-manager
Advanced tools
CouchDB Management Tool
A Node.js package for managing CouchDB databases. This tool automates the creation of databases, adding or updating views, and indexing documents in CouchDB.
Features Database Creation: Automatically create databases in CouchDB. View Management: Add or update views within existing databases. Document Indexing: Index documents to enhance query performance.
Installation
How to use it
const couchdbManager = require("couchdb-manager");
let viewDoc = {
_id: "_design/view",
views: {
all: {
map: "function (doc) { emit(doc._id, 1);}",
},
},
language: "javascript",
};
const dbs = [
{
user_name: "root",
password: "root",
service_url: "localhost", // assume db host in localhost just use localhost
service_port: 5000,
db_name: "test",
view_document: viewDoc,
},
];
const create = async () => {
try {
var x = await couchdbManager.createDB(dbs);
console.log("appboot db create info", x);
} catch (error) {
console.log(" appboot db create error", error);
}
};
create();
FAQs
CouchDB Management Tool
The npm package couchdb-manager receives a total of 0 weekly downloads. As such, couchdb-manager popularity was classified as not popular.
We found that couchdb-manager demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Vite releases Rolldown-Vite, a Rust-based bundler preview offering faster builds and lower memory usage as a drop-in replacement for Vite.
Research
Security News
A malicious npm typosquat uses remote commands to silently delete entire project directories after a single mistyped install.
Research
Security News
Malicious PyPI package semantic-types steals Solana private keys via transitive dependency installs using monkey patching and blockchain exfiltration.