aboutsummaryrefslogtreecommitdiff
path: root/docs/guide
diff options
context:
space:
mode:
authorST-DDT <[email protected]>2024-10-15 21:27:49 +0200
committerGitHub <[email protected]>2024-10-15 19:27:49 +0000
commite5b10f0972283dd6923091c166e3f1903c96e68c (patch)
tree7281267b644b052a079047e01cac453b982caffe /docs/guide
parentdf96fbabcfabfb21b870745541ca64ed370222f4 (diff)
downloadfaker-e5b10f0972283dd6923091c166e3f1903c96e68c.tar.xz
faker-e5b10f0972283dd6923091c166e3f1903c96e68c.zip
docs: support browser console based exploration (#3168)
Diffstat (limited to 'docs/guide')
-rw-r--r--docs/guide/usage.md5
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/guide/usage.md b/docs/guide/usage.md
index b6be99ef..52205677 100644
--- a/docs/guide/usage.md
+++ b/docs/guide/usage.md
@@ -32,6 +32,11 @@ For more information on selecting and customizing a locale, please refer to our
If you want to try it yourself, you can open your browser console via `Ctrl + Shift + J` / `F12`.
+On our website, you can load faker into the browser console
+
+- by using `await enableFaker()`
+- or using the following code:
+
```js
const { faker } = await import('https://esm.sh/@faker-js/faker');