faker-i18n 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +7 -23
- package/package.json +10 -2
package/README.md
CHANGED
|
@@ -1,29 +1,21 @@
|
|
|
1
1
|
# faker-i18n
|
|
2
2
|
|
|
3
|
-
✨ **faker-i18n** is a lightweight library for generating fake data in a simple, fast, and dependency-free way.
|
|
3
|
+
✨ **faker-i18n** is a lightweight (~14kB) library for generating fake data in a simple, fast, and dependency-free way.
|
|
4
4
|
Perfect for **tests**, **seeders**, **mocking**, and **prototyping**.
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
### 🌍 Supported Locales
|
|
8
8
|
|
|
9
9
|
Currently supported locales:
|
|
10
10
|
|
|
11
11
|
- EN – English (Default)
|
|
12
|
-
|
|
13
12
|
- ES – Spanish
|
|
14
|
-
|
|
15
13
|
- PT – Portuguese
|
|
16
|
-
|
|
17
14
|
- FR – French
|
|
18
|
-
|
|
19
15
|
- DE – German
|
|
20
|
-
|
|
21
16
|
- RU – Russian
|
|
22
|
-
|
|
23
17
|
- JA – Japanese
|
|
24
|
-
|
|
25
18
|
- ZH – Chinese
|
|
26
|
-
|
|
27
19
|
- TR – Turkish
|
|
28
20
|
|
|
29
21
|
## 📦 Installation
|
|
@@ -50,7 +42,6 @@ console.log(fake.jobTitle()); // Designer
|
|
|
50
42
|
```bash
|
|
51
43
|
fake.firstName(); // Mike
|
|
52
44
|
fake.lastName(); // Taylor
|
|
53
|
-
fake.fullName(); // Mike Taylor
|
|
54
45
|
fake.company(); // Soft Inc
|
|
55
46
|
fake.jobTitle(); // Designer
|
|
56
47
|
```
|
|
@@ -89,15 +80,11 @@ fake.lorem(); // Lorem ipsum dolor sit amet
|
|
|
89
80
|
|
|
90
81
|
## 🎯 Project Goals
|
|
91
82
|
|
|
92
|
-
🪶 Lightweight and fast
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
🧪 Ideal for tests and mocks
|
|
99
|
-
|
|
100
|
-
💡 Simple and predictable API
|
|
83
|
+
- 🪶 Lightweight and fast
|
|
84
|
+
- 📦 No unnecessary dependencies
|
|
85
|
+
- 🌍 Multi-language support
|
|
86
|
+
- 🧪 Ideal for tests and mocks
|
|
87
|
+
- 💡 Simple and predictable API
|
|
101
88
|
|
|
102
89
|
|
|
103
90
|
|
|
@@ -105,11 +92,8 @@ fake.lorem(); // Lorem ipsum dolor sit amet
|
|
|
105
92
|
Feel free to open issues or pull requests for:
|
|
106
93
|
|
|
107
94
|
- New locales
|
|
108
|
-
|
|
109
95
|
- New generators
|
|
110
|
-
|
|
111
96
|
- Performance improvements
|
|
112
|
-
|
|
113
97
|
- Bug fixes
|
|
114
98
|
|
|
115
99
|
|
package/package.json
CHANGED
|
@@ -1,12 +1,20 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "faker-i18n",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "Minimal fake data generator by field (ES, EN, PT, FR, DE, RU, JA, ZH, TR)",
|
|
5
5
|
"author": "mikefox10 <mikefoxtrotboa@gmail.com>",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"main": "dist/index.js",
|
|
8
8
|
"types": "dist/index.d.ts",
|
|
9
|
-
|
|
9
|
+
"repository": {
|
|
10
|
+
"type": "git",
|
|
11
|
+
"url": "https://github.com/mikefox10/faker-i18n"
|
|
12
|
+
},
|
|
13
|
+
"homepage": "https://github.com/mikefox10/faker-i18n#readme",
|
|
14
|
+
"bugs": {
|
|
15
|
+
"url": "https://github.com/mikefox10/faker-i18n/issues"
|
|
16
|
+
},
|
|
17
|
+
"files": [
|
|
10
18
|
"dist/**/*.js",
|
|
11
19
|
"dist/**/*.d.ts"
|
|
12
20
|
],
|