Skip to content

Commit 44403ec

Browse files
committed
Update README.md
1 parent 3ebe829 commit 44403ec

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@ $ npm install @cap-js/asyncapi
2424
### Usage
2525

2626
```sh
27-
const processor = require('@cap-js/asyncapi')
27+
const { compile } = require('@cap-js/asyncapi')
2828
```
2929
```sh
30-
processor(csn)
30+
compile(csn)
3131
```
3232
3333
## Contributing

0 commit comments

Comments
 (0)