aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/api/localization.md2
-rw-r--r--docs/guide/index.md2
2 files changed, 2 insertions, 2 deletions
diff --git a/docs/api/localization.md b/docs/api/localization.md
index dbd03b43..39ab6ccd 100644
--- a/docs/api/localization.md
+++ b/docs/api/localization.md
@@ -63,5 +63,5 @@ In a production environment, you may only want to include the locale data for a
```js
// loads only de locale
-const faker = require('faker/locale/de');
+const faker = require('@faker-js/faker/locale/de');
```
diff --git a/docs/guide/index.md b/docs/guide/index.md
index ece6c7bc..ba57fbf7 100644
--- a/docs/guide/index.md
+++ b/docs/guide/index.md
@@ -42,7 +42,7 @@ pnpm add @faker-js/faker --save-dev
### Node.js
```js
-import faker from 'faker';
+import faker from '@faker-js/faker';
const randomName = faker.name.findName(); // Rowan Nikolaus
const randomEmail = faker.internet.email(); // [email protected]