Official Node.js client library for the Elastic.io REST API. Version 2.0.0 supports Node >=12.13.0. Provides convenient methods for managing repos, users, contracts, workspaces, and other Elastic.io resources. While the package is actively maintained, its usage is specific to the Elastic.io platform and not a general-purpose REST client. The API is promise-based and requires authentication via email and API key.
npm install elasticio-rest-nodeNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Initialize client with email and API key, then fetch the current user's details.
Upgrade Node to >=12.13.0 or pin elasticio-rest-node to version 1.x.
Consider migrating to OAuth2 authentication using the Elastic.io web UI.
Wrap calls in async functions or use .catch() to handle errors.
Always call client = require('elasticio-rest-node')(email, key);.Run 'npm install elasticio-rest-node' (yes, the package name has a hyphen).
Use const client = require('elasticio-rest-node')(email, key); not require('elasticio-rest-node').Client(...).Verify your credentials in the Elastic.io dashboard. If using an API key, ensure it's still valid.
Assign the result: const client = require('elasticio-rest-node')(email, key);No dependency data recorded yet.