diff options
| author | Shinigami <[email protected]> | 2022-01-17 16:43:38 +0100 |
|---|---|---|
| committer | GitHub <[email protected]> | 2022-01-17 10:43:38 -0500 |
| commit | a973ee1ce64d2b593f64b633e927382280da8f27 (patch) | |
| tree | 4ca75ceb6815b83627874a38feff4bd2a1b240ef /docs | |
| parent | cd4695abf47510f2c8741fd54270ad6d1a0aa1ff (diff) | |
| download | faker-a973ee1ce64d2b593f64b633e927382280da8f27.tar.xz faker-a973ee1ce64d2b593f64b633e927382280da8f27.zip | |
chore(docs): fix imports (#154)
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/api/localization.md | 2 | ||||
| -rw-r--r-- | docs/guide/index.md | 2 |
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] |
