Using azure-sdk-for-js with azure.com

TypeScript integration

✓ Official SDK
Install
npm install azure-sdk-for-js
Quick start
import Azure_sdk_for_js from 'azure-sdk-for-js';

const client = new Azure_sdk_for_js({ apiKey: "YOUR_API_KEY" });
Searches for documents in the index.
curl \
  /docs
Queries the number of documents in the index.
curl \
  /docs/$count
Retrieves a document from the index.
curl \
  /docs('{key}')
SDK on GitHub 📄 API Docs
SDK
azure-sdk-for-js
TypeScript
API
azure.com
azure.com:search-searchindex
At a glance
Language TypeScript
Endpoints9
✓ Official