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.
import
1 parent 0c810d4 commit 2f4a21cCopy full SHA for 2f4a21c
1 file changed
README.md
@@ -77,7 +77,7 @@ You may also use ES6 Module imports (for modern browsers):
77
78
```html
79
<script type="module">
80
-import JSONPath from './node_modules/jsonpath-plus/dist/index-es.js';
+import {JSONPath} from './node_modules/jsonpath-plus/dist/index-es.js';
81
const result = JSONPath({path: '...', json: ...});
82
</script>
83
```
@@ -87,7 +87,7 @@ const result = JSONPath({path: '...', json: ...});
87
Or if you are bundling your JavaScript (e.g., with Rollup), just use:
88
89
```js
90
-import JSONPath from 'jsonpath-plus';
+import {JSONPath} from 'jsonpath-plus';
91
92
const result = JSONPath({path: '...', json});
93
0 commit comments