aboutsummaryrefslogtreecommitdiff
path: root/docs/guide
diff options
context:
space:
mode:
authorShinigami <[email protected]>2025-07-04 19:32:41 +0200
committerGitHub <[email protected]>2025-07-04 17:32:41 +0000
commit160960b79719e1298668a7ebba390b30b8de1080 (patch)
tree5d5b215b045e48a7c7747d161931cf7ac7596e9d /docs/guide
parent4e422f72fa6065db906a01836a4e76540f0f9a18 (diff)
downloadfaker-160960b79719e1298668a7ebba390b30b8de1080.tar.xz
faker-160960b79719e1298668a7ebba390b30b8de1080.zip
feat!: esm only (#3540)
Diffstat (limited to 'docs/guide')
-rw-r--r--docs/guide/index.md6
1 files changed, 5 insertions, 1 deletions
diff --git a/docs/guide/index.md b/docs/guide/index.md
index ef0d6117..46b41fbc 100644
--- a/docs/guide/index.md
+++ b/docs/guide/index.md
@@ -15,7 +15,11 @@ This documentation only covers the JavaScript implementation of Faker.
## Environments
-You can run Faker in the browser, or in Node.js. Faker v9.0 requires Node.js version 18 or above. Both ESM and CommonJS imports are available.
+You can run Faker in the browser, or in Node.js. Faker v10.0 requires Node.js version 20 or above.
+
+::: tip Note
+When using CJS, you need to use at least Node.js v20.19. See https://nodejs.org/api/modules.html#loading-ecmascript-modules-using-require
+:::
## Installation