diff options
| author | ST-DDT <[email protected]> | 2024-10-15 21:27:49 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2024-10-15 19:27:49 +0000 |
| commit | e5b10f0972283dd6923091c166e3f1903c96e68c (patch) | |
| tree | 7281267b644b052a079047e01cac453b982caffe /docs/guide/usage.md | |
| parent | df96fbabcfabfb21b870745541ca64ed370222f4 (diff) | |
| download | faker-e5b10f0972283dd6923091c166e3f1903c96e68c.tar.xz faker-e5b10f0972283dd6923091c166e3f1903c96e68c.zip | |
docs: support browser console based exploration (#3168)
Diffstat (limited to 'docs/guide/usage.md')
| -rw-r--r-- | docs/guide/usage.md | 5 |
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'); |
