All Projects → Azure → Azure Cosmos Js

Azure / Azure Cosmos Js

Licence: mit
@azure/cosmos has moved to a new repo https://github.com/Azure/azure-sdk-for-js

Programming Languages

javascript
184084 projects - #8 most used programming language
typescript
32286 projects

Projects that are alternatives of or similar to Azure Cosmos Js

Tiedot
A rudimentary implementation of a basic document (NoSQL) database in Go
Stars: ✭ 2,643 (+1214.93%)
Mutual labels:  nosql, document-database
uptasticsearch
An Elasticsearch client tailored to data science workflows.
Stars: ✭ 47 (-76.62%)
Mutual labels:  nosql, document-database
Ravendb
ACID Document Database
Stars: ✭ 2,870 (+1327.86%)
Mutual labels:  nosql, document-database
NoSQLDataEngineering
NoSQL Data Engineering
Stars: ✭ 25 (-87.56%)
Mutual labels:  nosql, document-database
Rethinkdb.driver
🎧 A NoSQL C#/.NET RethinkDB database driver with 100% ReQL API coverage.
Stars: ✭ 350 (+74.13%)
Mutual labels:  nosql, document-database
Mongodb Quickstart Course
Course demos and handout material for Talk Python's MongoDB Quickstart course
Stars: ✭ 220 (+9.45%)
Mutual labels:  nosql, document-database
docs
Source code of the ArangoDB online documentation
Stars: ✭ 18 (-91.04%)
Mutual labels:  nosql, document-database
Ftserver
Lightweight Embeddable iBoxDB Full Text Search Server for Java
Stars: ✭ 219 (+8.96%)
Mutual labels:  nosql, document-database
skytable
Skytable is an extremely fast, secure and reliable real-time NoSQL database with automated snapshots and TLS
Stars: ✭ 696 (+246.27%)
Mutual labels:  nosql, document-database
cloud-enablement-aws
Enabling MarkLogic in the cloud (AWS)
Stars: ✭ 18 (-91.04%)
Mutual labels:  nosql, azure
database
Key-Value/Document store database library with btree and ARTree indexing methods, SSN-MVCC concurrency
Stars: ✭ 67 (-66.67%)
Mutual labels:  nosql, document-database
Ftserver Cs
Lightweight iBoxDB Full Text Search Server for C#
Stars: ✭ 81 (-59.7%)
Mutual labels:  nosql, document-database
Orientdb
OrientDB is the most versatile DBMS supporting Graph, Document, Reactive, Full-Text and Geospatial models in one Multi-Model product. OrientDB can run distributed (Multi-Master), supports SQL, ACID Transactions, Full-Text indexing and Reactive Queries. OrientDB Community Edition is Open Source using a liberal Apache 2 license.
Stars: ✭ 4,394 (+2086.07%)
Mutual labels:  nosql, document-database
Arangodb
🥑 ArangoDB is a native multi-model database with flexible data models for documents, graphs, and key-values. Build high performance applications using a convenient SQL-like query language or JavaScript extensions.
Stars: ✭ 11,880 (+5810.45%)
Mutual labels:  nosql, document-database
Smartstorenet
Open Source ASP.NET MVC Enterprise eCommerce Shopping Cart Solution
Stars: ✭ 2,363 (+1075.62%)
Mutual labels:  azure
Mongoose
Mongoose module for Nest framework (node.js) 🍸
Stars: ✭ 191 (-4.98%)
Mutual labels:  nosql
Cassandradump
A data exporting tool for Cassandra inspired from mysqldump, with some additional slice and dice capabilities
Stars: ✭ 186 (-7.46%)
Mutual labels:  nosql
Machine Controller Manager
Declarative way of managing machines for Kubernetes cluster
Stars: ✭ 186 (-7.46%)
Mutual labels:  azure
Checkov
Prevent cloud misconfigurations during build-time for Terraform, Cloudformation, Kubernetes, Serverless framework and other infrastructure-as-code-languages with Checkov by Bridgecrew.
Stars: ✭ 3,572 (+1677.11%)
Mutual labels:  azure
Paper
Paper is a fast NoSQL-like storage for Java/Kotlin objects on Android with automatic schema migration support.
Stars: ✭ 2,263 (+1025.87%)
Mutual labels:  nosql

🚨This SDK is now maintained at https://github.com/Azure/azure-sdk-for-js 🚨

Microsoft Azure Cosmos JavaScript SDK

This project provides JavaScript & Node.js SDK library for SQL API of Azure Cosmos Database Service. This project also includes samples, tools, and utilities.

latest npm badge Build Status

// JavaScript
const { CosmosClient } = require("@azure/cosmos");

const endpoint = "https://your-account.documents.azure.com"; // Add your endpoint
const key = "[database account masterkey]"; // Add the masterkey of the endpoint
const client = new CosmosClient({ endpoint, key });

const databaseDefinition = { id: "sample database" };
const collectionDefinition = { id: "sample collection" };
const documentDefinition = { id: "hello world doc", content: "Hello World!" };

async function helloCosmos() {
  const { database } = await client.databases.create(databaseDefinition);
  console.log("created database");

  const { container } = await database.containers.create(collectionDefinition);
  console.log("created collection");

  const { resource } = await container.items.create(documentDefinition);
  console.log("Created item with content: ", resource.content);

  await database.delete();
  console.log("Deleted database");
}

helloCosmos().catch(err => {
  console.error(err);
});

Install via NPM

You can install the npm package using the following command:

npm install @azure/cosmos

Useful links

Need Help?

Tweet us with #CosmosDB and we'll respond on Twitter. Be sure to check out the Microsoft Azure Developer Forums on MSDN or the Developer Forums on Stack Overflow if you have trouble with the provided code.

Contribute Code or Provide Feedback

For our rules and guidelines on contributing, please see [Microsoft's contributor guide].(https://docs.microsoft.com/en-us/contribute/).

For information on how build and test this repo, please see ./dev.md.

If you encounter any bugs with the library please file an issue in the Issues section of the project.

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].