Skip to content

Commit 13d83e7

Browse files
committed
Update README to include JS section
1 parent 2e440de commit 13d83e7

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,17 @@ Supported options:
107107
| `complete` | `boolean` | no | If `true`, generate a complete script. If `false`, only generate the request code. The default is `false`. |
108108
| `elasticsearchUrl` | `string` | no | The Elasticsearch endpoint to use. The default is `http://localhost:9200`. |
109109

110+
### javascript
111+
112+
The JavaScript exporter generates code for the Elasticsearch JavaScript client.
113+
114+
Supported options:
115+
116+
| Option name | Type | Required | Description |
117+
| ----------- | ---- | -------- | ----------- |
118+
| `printResponse` | `boolean` | no | If `true`, add code to print the response. The default is `false`. |
119+
| `complete` | `boolean` | no | If `true`, generate a complete script. If `false`, only generate the request code. The default is `false`. |
120+
| `elasticsearchUrl` | `string` | no | The Elasticsearch endpoint to use in the generated commands. The default is `http://localhost:9200`. |
110121

111122
### php
112123

0 commit comments

Comments
 (0)