Skip to content

Commit

Permalink
docs: correct the ESM import example
Browse files Browse the repository at this point in the history
  • Loading branch information
rowanmanning committed Jun 26, 2024
1 parent 88fe359 commit 38d97f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ npm install --save @financial-times/user-agent
Include in your code:

```js
import buildUserAgent from '@financial-times/user-agent';
import { buildUserAgent } from '@financial-times/user-agent';
// or
const { buildUserAgent } = require('@financial-times/user-agent');
```
Expand Down

0 comments on commit 38d97f8

Please sign in to comment.