
Security News
MCP Community Begins Work on Official MCP Metaregistry
The MCP community is launching an official registry to standardize AI tool discovery and let agents dynamically find and install MCP servers.
es-query-builder
Advanced tools
build elasticsearch queries the sane way
the elasticsearch json query syntax is painful
es-query-builder
expects both ES_URL
and ES_INDEX
environment variables to be definied
so you may have a config file that looks something like:
export ES_INDEX=events
export ES_URL=https://mysearch:9200
var Query = require('es-query-builder')
// create a fresh query:
var q = new Query
// chain modifications:
q.size(10)
q.queryString('event.type:foo')
q.range('timestamp', 1467817775660, 1467817785860)
q.agg('min', 'min_timestamp', 'timestamp')
q.agg('max', 'max_timestamp', 'timestamp')
// call it!
q.fetch() // no args returns a promise
q.fetch(function(err, res) {
// or with callback
})
FAQs
build elasticsearch queries with self esteem
The npm package es-query-builder receives a total of 5 weekly downloads. As such, es-query-builder popularity was classified as not popular.
We found that es-query-builder demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
The MCP community is launching an official registry to standardize AI tool discovery and let agents dynamically find and install MCP servers.
Research
Security News
Socket uncovers an npm Trojan stealing crypto wallets and BullX credentials via obfuscated code and Telegram exfiltration.
Research
Security News
Malicious npm packages posing as developer tools target macOS Cursor IDE users, stealing credentials and modifying files to gain persistent backdoor access.