All Projects → couchbase → Couchnode

couchbase / Couchnode

Licence: apache-2.0
Couchbase Node.js Client Library (Official)

Programming Languages

javascript
184084 projects - #8 most used programming language

Labels

Projects that are alternatives of or similar to Couchnode

Alan Sdk Web
Alan AI Web SDK adds a voice assistant or chatbot to your app. Supports React, Angular, Vue, Ember, JavaScript, Electron.
Stars: ✭ 368 (-16.36%)
Mutual labels:  sdk
Globalplatformpro
🌐 🔐 Manage applets and keys on JavaCard-s like a pro (via command line or from your Java project)
Stars: ✭ 409 (-7.05%)
Mutual labels:  sdk
Dialogflow Javascript Client
JavaScript Web SDK for Dialogflow
Stars: ✭ 416 (-5.45%)
Mutual labels:  sdk
Huobi python
Python SDK for Huobi Spot API
Stars: ✭ 391 (-11.14%)
Mutual labels:  sdk
Vk Io
Modern VK API SDK for Node.js
Stars: ✭ 401 (-8.86%)
Mutual labels:  sdk
Botlibre
An open platform for artificial intelligence, chat bots, virtual agents, social media automation, and live chat automation.
Stars: ✭ 412 (-6.36%)
Mutual labels:  sdk
Azure Sdk For Php
Microsoft Azure SDK for PHP
Stars: ✭ 369 (-16.14%)
Mutual labels:  sdk
Mapbox Navigation Android
Mapbox Navigation SDK for Android
Stars: ✭ 424 (-3.64%)
Mutual labels:  sdk
Decentralized Internet
A SDK/library for decentralized web and distributing computing projects
Stars: ✭ 406 (-7.73%)
Mutual labels:  sdk
Waterwheel.swift
The Waterwheel Swift SDK provides classes to natively connect iOS, macOS, tvOS, and watchOS applications to Drupal 7 and 8.
Stars: ✭ 415 (-5.68%)
Mutual labels:  sdk
Werobot
WeRoBot 是一个微信公众号开发框架
Stars: ✭ 3,973 (+802.95%)
Mutual labels:  sdk
Routersdk
A mini and excellent Router Framwork一款小而美的路由框架。网页动态添加自定义参数启动应用。 https://github.com/Jomes/routerSDK
Stars: ✭ 402 (-8.64%)
Mutual labels:  sdk
Ios Apm Secrets
㊙️ WIP 深度揭秘各大 APM 厂商 iOS SDK 背后的核心技术和实现细节 更新中……
Stars: ✭ 414 (-5.91%)
Mutual labels:  sdk
Cmu Multimodalsdk
CMU MultimodalSDK is a machine learning platform for development of advanced multimodal models as well as easily accessing and processing multimodal datasets.
Stars: ✭ 388 (-11.82%)
Mutual labels:  sdk
Scfacebook
The SCFacebook 4.1 is a simple and cleaner to use the api facebook-ios-sdk Objective-C Wrapper (https://github.com/facebook/facebook-ios-sdk) to perform login, get friends list, information about the user and posting on the wall with ^Block for iPhone. Suporte 4.71 FBSDKCoreKit, FBSDKShareKit and FBSDKLoginKit. Facebook SDK
Stars: ✭ 420 (-4.55%)
Mutual labels:  sdk
Quickblox Ios Sdk
QuickBlox iOS SDK for messaging and video calling
Stars: ✭ 373 (-15.23%)
Mutual labels:  sdk
Azure Iot Sdk C
A C99 SDK for connecting devices to Microsoft Azure IoT services
Stars: ✭ 412 (-6.36%)
Mutual labels:  sdk
Line Bot Sdk Ruby
LINE Messaging API SDK for Ruby
Stars: ✭ 425 (-3.41%)
Mutual labels:  sdk
Openapi Sdk Php
Alibaba Cloud SDK for PHP
Stars: ✭ 423 (-3.86%)
Mutual labels:  sdk
Sentry Go
Official Sentry SDK for Go
Stars: ✭ 415 (-5.68%)
Mutual labels:  sdk

Couchbase Node.js Client

The Node.js SDK library allows you to connect to a Couchbase cluster from Node.js. It is a native Node.js module and uses the very fast libcouchbase library to handle communicating to the cluster over the Couchbase binary protocol.

Useful Links

Source - https://github.com/couchbase/couchnode

Bug Tracker - https://www.couchbase.com/issues/browse/JSCBC

Couchbase Developer Portal - https://docs.couchbase.com/

Release Notes - https://docs.couchbase.com/nodejs-sdk/3.0/project-docs/sdk-release-notes.html

Installing

To install the lastest release using npm, run:

npm install couchbase

To install the development version directly from github, run:

npm install "git+https://github.com/couchbase/couchnode.git#master"

Introduction

Connecting to a Couchbase bucket is as simple as creating a new Cluster instance to represent the Cluster you are using, and then using the bucket and collection commands against this to open a connection to open your specific bucket and collection. You are able to execute most operations immediately, and they will be queued until the connection is successfully established.

Here is a simple example of instantiating a connection, adding a new document into the bucket and then retrieving its contents:

var couchbase = require('couchbase');
var cluster = new couchbase.Cluster('couchbase://127.0.0.1', {
  username: 'username',
  password: 'password',
});
var bucket = cluster.bucket('default');
var coll = bucket.defaultCollection();

coll.upsert('testdoc', { name: 'Frank' }, (err, res) => {
  if (err) throw err;

  coll.get('testdoc', (err, res) => {
    if (err) throw err;

    console.log(res.value);
    // {name: Frank}
  });
});

Documentation

An extensive documentation is available on the Couchbase website - https://docs.couchbase.com/nodejs-sdk/3.0/hello-world/start-using-sdk.html - including numerous examples and code samples.

Visit our Couchbase Node.js SDK forum for help. Or get involved in the Couchbase Community on the Couchbase website.

Source Control

The source code is available at https://github.com/couchbase/couchnode. Once you have cloned the repository, you may contribute changes through our gerrit server. For more details see CONTRIBUTING.md.

To execute our test suite, run make test from the root directory.

To execute our code coverage, run make cover from the root directory.

In addition to the full test suite and full code coverage, you may additionally execute a subset of the tests which excludes slow-running tests for quick verifications. These can be run through make fasttest and make fastcover respectively.

Finally, to build the API reference for the project, run make docs from the root directory, and a docs folder will be created with the api reference.

License

Copyright 2013 Couchbase Inc.

Licensed under the Apache License, Version 2.0.

See LICENSE for further details.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].