Skip to content

Commit

Permalink
docs: node api usage (#706)
Browse files Browse the repository at this point in the history
  • Loading branch information
JiangWeixian authored Mar 29, 2023
1 parent d421ca8 commit d5e5fff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/register/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
## Usage

```ts
const register = require('@swc-node/register')
const { register } = require('@swc-node/register/register')

register({
...
Expand Down

0 comments on commit d5e5fff

Please sign in to comment.