You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please replace your `faker` dependency with `@faker-js/faker`. This is the official, stable fork of Faker.
11
+
12
+
```shell
13
+
npm install @faker-js/faker -D
14
+
```
15
+
16
+
### Typescript Support
17
+
18
+
Types are available via the `@types/faker` package. You must manually link them using a `*.d.ts` file, like so:
19
+
20
+
```typescript
21
+
// faker.d.ts
22
+
declaremodule'@faker-js/faker' {
23
+
importfakerfrom'faker';
24
+
exportdefaultfaker;
25
+
}
26
+
```
27
+
8
28
## FAQ - What happened to the original faker.js?
9
29
10
30
This project was originally created and hosted at https://github.com/marak/Faker.js/ - however around 4th Jan, 2022 - the author decided to delete the repository (for unknown reasons).
0 commit comments