Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
SlavyanDesu authored Jan 18, 2023
1 parent 29515d7 commit 6f03db9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,13 @@ As of v1.3.x this module now support both ESM and CommonJS.
## ES Modules (ESM)
```js
import NekoBocc from 'nekobocc'
const nekobocc = new NekoBocc()
```

## CommonJS
```js
const NekoBocc = require('nekobocc').default
const nekobocc = new NekoBocc()
```

# Example
Expand Down

0 comments on commit 6f03db9

Please sign in to comment.