From a973ee1ce64d2b593f64b633e927382280da8f27 Mon Sep 17 00:00:00 2001 From: Shinigami Date: Mon, 17 Jan 2022 16:43:38 +0100 Subject: chore(docs): fix imports (#154) --- docs/api/localization.md | 2 +- docs/guide/index.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'docs') 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(); // Kassandra.Haley@erich.biz -- cgit v1.2.3