From e5b10f0972283dd6923091c166e3f1903c96e68c Mon Sep 17 00:00:00 2001 From: ST-DDT Date: Tue, 15 Oct 2024 21:27:49 +0200 Subject: docs: support browser console based exploration (#3168) --- docs/guide/usage.md | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'docs/guide/usage.md') 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'); -- cgit v1.2.3