Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

Couchbase Node.JS SDK 2.0.0-beta Released!

DZone's Guide to

Couchbase Node.JS SDK 2.0.0-beta Released!

· Java Zone ·
Free Resource

Verify, standardize, and correct the Big 4 + more– name, email, phone and global addresses – try our Data Quality APIs now at Melissa Developer Portal!

Originally written by Brett Lawson

We’ve just released a shiney new version of our Node.js SDK, now in Beta. This release reflects a significant amount of change from our previous SDK releases, including a brand new API which should be far easier to get started with and use, better documentation and numerous performance enhancements through our related project, libcouchbase.

New Features

  1. A new API has been developed for this new release. This includes a more developer-friendly CRUD operation interface, improvements regarding view and N1QL queries, and an enhanced cluster and bucket management interface. See the documentation and API Reference for further details.
  2. The view querying interface has been rewritten to permit streaming of rows as they are available rather than waiting for the whole result set before dispatching.
  3. Many of the bulk operation methods have been removed (except for getMulti). These operations were previously available primarily for performance reasons, however this performance benefit has now been integrated into all operations.
  4. The API Reference has been revamped to provide many more details regarding all events, classes and their methods.
  5. Numerous performance enhancements have been made within the underlying library, libcouchbase, which powers the Node.js SDK.
     

New Documentation

We have completely rewritten the documentation to help you get started, check it out here:
http://docs.couchbase.com/prebuilt/node-sdk-2.0-beta/topics/overview.html

We have also significantly expanded on our API reference, which is available here:
http://sdk-snapshots.couchbase.com/nodejs/nodejs_couchbase-2.0.0-beta-docs/index.html

Try it out

You can install it directly through npm by using the “2.0.0-beta” tag like this: 

npm install couchbase@2.0.0-beta

This update to the Node.js SDK reflects a significant change to most of the SDK's internals and the overall developer experience.  I implore you to check out this latest version, explore the documentation and drop by our Issue Tracker (https://www.couchbase.com/issues/browse/JSCBC) if you encounter anything out of place!

Thanks!  Brett


Developers! Quickly and easily gain access to the tools and information you need! Explore, test and combine our data quality APIs at Melissa Developer Portal – home to tools that save time and boost revenue. Our APIs verify, standardize, and correct the Big 4 + more – name, email, phone and global addresses – to ensure accurate delivery, prevent blacklisting and identify risks in real-time.

Topics:

Published at DZone with permission of

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}