docs(web): fix deno import example

This commit is contained in:
Carlos Scheidegger 2025-08-13 15:56:21 -04:00 committed by GitHub
parent f9f7ae0850
commit c60264b87f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -46,7 +46,7 @@ file to your `public` directory. You can do this automatically with a `postinsta
You can also use this module with [deno](https://deno.land/):
```js
import Parser from "npm:web-tree-sitter";
import { Parser } from "npm:web-tree-sitter";
await Parser.init();
// the library is ready
```