aboutsummaryrefslogtreecommitdiff
path: root/docs/guide/usage.md
diff options
context:
space:
mode:
authorShinigami <[email protected]>2023-04-03 17:55:56 +0200
committerGitHub <[email protected]>2023-04-03 15:55:56 +0000
commitfc2f171670b05019e0582d7c1b6b34c24c1d15f1 (patch)
tree9101b290b4798c4a3b5bbb585091ac70c3d03099 /docs/guide/usage.md
parentde078de89bf1b52de153f88352cf534811673886 (diff)
downloadfaker-fc2f171670b05019e0582d7c1b6b34c24c1d15f1.tar.xz
faker-fc2f171670b05019e0582d7c1b6b34c24c1d15f1.zip
docs: normalize blocks (#2002)
Diffstat (limited to 'docs/guide/usage.md')
-rw-r--r--docs/guide/usage.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/guide/usage.md b/docs/guide/usage.md
index 26f81c08..f97590af 100644
--- a/docs/guide/usage.md
+++ b/docs/guide/usage.md
@@ -37,7 +37,7 @@ For more information about changing and customizing the locales, please refer to
</script>
```
-::: info NOTE
+::: info Note
Using the browser is great for experimenting 👍. However, due to all of the strings Faker uses to generate fake data, **Faker is a large package**. It's `> 5 MiB` minified. **Please avoid deploying the full Faker in your web app.**
:::
@@ -50,7 +50,7 @@ const randomName = faker.person.fullName(); // Willie Bahringer
const randomEmail = faker.internet.email(); // [email protected]
```
-::: info NOTE
+::: info Note
It is highly recommended to use version tags when importing libraries in Deno, e.g: `import { faker } from "https://cdn.skypack.dev/@faker-js/[email protected]"`. Add `?dts` to import with type definitions: `import { faker } from "https://cdn.skypack.dev/@faker-js/[email protected]?dts"`.
:::
@@ -104,7 +104,7 @@ const secondRandom = faker.number.int();
console.log(firstRandom === secondRandom);
```
-::: info NOTE
+::: info Note
When upgrading to a new version of Faker, you may get different values for the same seed, as the underlying data (lists of names, words etc) may have changed.
:::