aboutsummaryrefslogtreecommitdiff
path: root/docs/guide
diff options
context:
space:
mode:
Diffstat (limited to 'docs/guide')
-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"`.
:::