Skip to content

Commit

Permalink
docs: update headers for CJS and modules usage
Browse files Browse the repository at this point in the history
  • Loading branch information
jordanbtucker committed Aug 9, 2022
1 parent 4952108 commit abbd127
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -78,12 +78,12 @@ specification](https://json5.github.io/json5-spec/).
npm install json5
```

CJS:
### CommonJS
```js
const JSON5 = require('json5')
```

ESM:
### Modules
```js
import JSON5 from 'json5'
```
Expand Down

0 comments on commit abbd127

Please sign in to comment.