azure-cosmosdb-node
We recently announced deprecation of JS v1 SDK and this repo. Starting September 2020 Microsoft will not provide support for this library. Existing applications using library will continue to work as-is. We strongly recommend upgrading to @azure/cosmos library.
File Explorer
Download Latest Version (.zip)- launch.json
- app.js
- CollectionManagement.njsproj
- package.json
- README.md
- app.js
- DatabaseManagement.njsproj
- package.json
- README.md
- app.js
- DocumentManagement.njsproj
- package.json
- README.md
- app.js
- IndexManagement.njsproj
- package.json
- README.md
- app.js
- package.json
- Partitioning.njsproj
- README.md
- README.md
- upsert.js
- app.js
- package.json
- README.md
- ServerSideScripts.njsproj
- Families.json
- config.js
- utils.js
- app.js
- package.json
- README.md
- UserManagement.njsproj
- DocumentDB.Samples.sln
- readme.md
- consistentHashRing.js
- hashPartitionResolver.js
- murmurHash.js
- aggregators.js
- defaultQueryExecutionContext.js
- documentProducer.js
- endpointComponent.js
- headerUtils.js
- orderByDocumentProducerComparator.js
- orderByQueryExecutionContext.js
- parallelQueryExecutionContext.js
- parallelQueryExecutionContextBase.js
- partitionedQueryExecutionContextInfoParser.js
- pipelinedQueryExecutionContext.js
- proxyQueryExecutionContext.js
- clientSideMetrics.js
- queryMetrics.js
- queryMetricsConstants.js
- queryMetricsUtils.js
- queryPreparationTimes.js
- runtimeExecutionTimes.js
- timeSpan.js
- inMemoryCollectionRoutingMap.js
- partitionKeyRangeCache.js
- smartRoutingMapProvider.js
- auth.js
- base.js
- constants.js
- defaultRetryPolicy.js
- documentclient.js
- documents.js
- endpointDiscoveryRetryPolicy.js
- globalEndpointManager.js
- helper.js
- index.js
- log.js
- platform.js
- queryIterator.js
- range.js
- request.js
- resourceId.js
- resourceThrottleRetryPolicy.js
- retryOptions.js
- retryUtility.js
- sessionContainer.js
- sessionReadRetryPolicy.js
- statusCodes.js
- uriFactory.js
- defaultQueryExecutionContextTests.js
- _testConfig.js
- aggregateQueryTests.js
- authorizationTests.js
- BaselineTest.PathParser.json
- baseTests.js
- collectionNamingTest.js
- consistentHashRingTests.js
- crossPartitionTests.js
- data.json
- documentClientTests.js
- encodingTests.js
- hashPartitionResolverTests.js
- incrementalFeedTests.js
- inMemoryCollectionRoutingMapTests.js
- mocha.json
- murmurHashTests.js
- plaftormTests.js
- platformTests.js
- proxyTests.js
- queryMetricsTests.js
- queryTests.js
- rangePartitionResolverTests.js
- rangeTests.js
- readme.md
- ruPerMinTests.js
- sessionContainerTests.js
- sessionTests.js
- smartRoutingMapProviderTests.js
- splitTests.js
- sslVerificationTests.js
- test.js
- uriFactoryTests.js
- index.d.ts
- index.d.ts
- index.d.ts
- typings.json
- index.d.ts
- index.d.ts
- index.d.ts
- .eslintrc
- .gitignore
- DocumentDB.Node.master.njsproj
- DocumentDB.Node.master.sln
- Gruntfile.js
- index.js
- LICENSE
- package.json
- .editorConfig
- .gitattributes
- .gitignore
- changelog.md
- Contributing.md
- LICENSE
- README.md
- SECURITY.md
# Installation Guide
git clone https://github.com/Azure/azure-cosmosdb-node
Downloads the entire project code from GitHub to your computer.
cd azure-cosmosdb-node
Moves into the project folder you just downloaded.
2. Official Install Script
Easy Recommended- Node.js Node.js must be installed to use npm.
npm install -g mocha
Installs the package published on the npm registry globally β no need to clone the source.
Pulled directly from this repo's README.
3. .NET
Mediumcd source
This project's files live in a subfolder, so move into it first.
dotnet restore
Downloads the packages the project depends on.
dotnet run
Builds the project and runs it immediately.
4. Node.js
Easynpm install documentdb
Downloads and installs the libraries listed in package.json.
npm install azure-documentdb-node\source
Downloads and installs the libraries listed in package.json.
npm install -g mocha
Installs the package published on the npm registry globally β no need to clone the source.
npm remove documentdb
Type this command into your terminal and run it.
npm install source
Downloads and installs the libraries listed in package.json.
Pulled directly from this repo's README.
