aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorYusuf <[email protected]>2022-10-08 17:32:34 +0700
committerGitHub <[email protected]>2022-10-08 12:32:34 +0200
commitf0b60b97de312a727bd6a1b154c37e7a536ad5fd (patch)
tree861a602fe49524f0b6ee6ab18f737c755ceada55 /docs
parent7327e6e6fd4061f10647a5fabf437406c9ee8066 (diff)
downloadfaker-f0b60b97de312a727bd6a1b154c37e7a536ad5fd.tar.xz
faker-f0b60b97de312a727bd6a1b154c37e7a536ad5fd.zip
docs: fix note containers in usage guide (#1417)
Diffstat (limited to 'docs')
-rw-r--r--docs/guide/usage.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/guide/usage.md b/docs/guide/usage.md
index b12185bb..d37929d5 100644
--- a/docs/guide/usage.md
+++ b/docs/guide/usage.md
@@ -34,7 +34,7 @@ const randomEmail = faker.internet.email(); // [email protected]
</script>
```
-:::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.**
:::
@@ -47,7 +47,7 @@ const randomName = faker.name.findName(); // Willie Bahringer
const randomEmail = faker.internet.email(); // [email protected]
```
-:::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"`.
:::