We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cc37ef9 commit 2352f3bCopy full SHA for 2352f3b
README.md
@@ -29,10 +29,10 @@ npm install feathers-elasticsearch @elastic/elasticsearch --save
29
## Quick Start
30
31
```js
32
-const feathers = require('@feathersjs/feathers');
33
-const express = require('@feathersjs/express');
34
-const { Client } = require('@elastic/elasticsearch');
35
-const service = require('feathers-elasticsearch');
+import { feathers } '@feathersjs/feathers';
+import express from '@feathersjs/express';
+import { Client } from '@elastic/elasticsearch';
+import service from 'feathers-elasticsearch';
36
37
const app = express(feathers());
38
const esClient = new Client({ node: 'http://localhost:9200' });
0 commit comments