diff options
| author | Yusuf <[email protected]> | 2022-10-08 17:32:34 +0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2022-10-08 12:32:34 +0200 |
| commit | f0b60b97de312a727bd6a1b154c37e7a536ad5fd (patch) | |
| tree | 861a602fe49524f0b6ee6ab18f737c755ceada55 /docs/guide/usage.md | |
| parent | 7327e6e6fd4061f10647a5fabf437406c9ee8066 (diff) | |
| download | faker-f0b60b97de312a727bd6a1b154c37e7a536ad5fd.tar.xz faker-f0b60b97de312a727bd6a1b154c37e7a536ad5fd.zip | |
docs: fix note containers in usage guide (#1417)
Diffstat (limited to 'docs/guide/usage.md')
| -rw-r--r-- | docs/guide/usage.md | 4 |
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"`. ::: |
