[DOCS] Adds Connecting section to Node.JS docs (#1342)

This commit is contained in:
István Zoltán Szabó
2020-11-04 16:26:13 +01:00
committed by GitHub
parent fc3883a181
commit cf48d9a690
5 changed files with 213 additions and 183 deletions

View File

@ -18,4 +18,41 @@ npm install @elastic/elasticsearch@<major>
----
To learn more about the supported major versions, please refer to the
<<js-compatibility-matrix>>.
<<js-compatibility-matrix>>.
[discrete]
[[js-compatibility-matrix]]
=== Compatibility matrix
The minimum supported version of Node.js is `v8`.
The library is compatible with all {es} versions since 5.x. We recommend you to
use the same major version of the client as the {es} instance that you are
using.
[%header,cols=2*]
|===
|{es} Version
|Client Version
|`master`
|`master`
|`7.x`
|`7.x`
|`6.x`
|`6.x`
|`5.x`
|`5.x`
|===
[discrete]
==== Browser
WARNING: There is no official support for the browser environment. It exposes
your {es} instance to everyone, which could lead to security issues. We
recommend you to write a lightweight proxy that uses this client instead.