
Security News
Open Source CAI Framework Handles Pen Testing Tasks up to 3,600× Faster Than Humans
CAI is a new open source AI framework that automates penetration testing tasks like scanning and exploitation up to 3,600× faster than humans.
@elastic/enterprise-search
Advanced tools
Official Node.js client for Elastic Enterprise Search, App Search, and Workplace Search.
Starting with Elastic version 9.0, the standalone Enterprise Search products, will no longer be included in our offering. They remain supported in their current form in version 8.x and will only receive security upgrades and fixes. Enterprise Search clients will continue to be supported in their current form throughout 8.x versions, according to our EOL policy. We recommend transitioning to our actively developed Elastic Stack tools for your search use cases. However, if you're still using any Enterprise Search products, we recommend using the latest stable release of the clients.
Here are some useful links with more information:
Official Node.js client for Elastic Enterprise Search, App Search, and Workplace Search.
:information_source: Read the full documentation for this client at elastic.co.
npm install @elastic/enterprise-search
const { Client } = require('@elastic/enterprise-search')
const client = new Client({
url: 'http://localhost:3002',
// basic auth
auth: {
username: 'elastic',
password: 'changeme'
}
// bearer auth
auth: {
token: 'my-token'
}
})
// Enterprise Search API
const response = await client.enterprise.getHealth()
console.log(response)
// App Search API
const response = await client.app.search({
engine_name: 'games',
body: {
query: 'Pack-Man'
}
})
console.log(response)
// Workplace Search API
const response = await client.workplace.getDocument({
content_source_id: 'test',
document_id: 'id'
})
console.log(response)
This software is licensed under the Apache 2 license.
FAQs
Official Node.js client for Elastic Enterprise Search, App Search, and Workplace Search.
The npm package @elastic/enterprise-search receives a total of 3,273 weekly downloads. As such, @elastic/enterprise-search popularity was classified as popular.
We found that @elastic/enterprise-search demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 67 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
CAI is a new open source AI framework that automates penetration testing tasks like scanning and exploitation up to 3,600× faster than humans.
Security News
Deno 2.4 brings back bundling, improves dependency updates and telemetry, and makes the runtime more practical for real-world JavaScript projects.
Security News
CVEForecast.org uses machine learning to project a record-breaking surge in vulnerability disclosures in 2025.