Skip to content

Commit

Permalink
fix nodejs require import
Browse files Browse the repository at this point in the history
  • Loading branch information
DetachHead committed Sep 25, 2021
1 parent 20564cc commit 9887cbe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion platform/nodejs/README.md
Expand Up @@ -37,7 +37,7 @@ import { StaticNetFilteringEngine } from '@gorhill/ubo-core';
If you must import as a NodeJS module:

```js
const { StaticNetFilteringEngine } await import from '@gorhill/ubo-core';
const { StaticNetFilteringEngine } = require('@gorhill/ubo-core');
```


Expand Down

0 comments on commit 9887cbe

Please sign in to comment.