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 fe2a500 commit df46965Copy full SHA for df46965
readme.md
@@ -25,10 +25,10 @@ npm install unist-util-index
25
## Use
26
27
```js
28
-var fs = require('fs')
29
-var remark = require('remark')
30
-var toString = require('mdast-util-to-string')
31
-var Index = require('unist-util-index')
+import fs from 'fs'
+import remark from 'remark'
+import toString from 'mdast-util-to-string'
+import {Index} from 'unist-util-index'
32
33
// Parse and read this repo’s readme:
34
var tree = remark.parse(fs.readFileSync('readme.md'))
0 commit comments