@indodev/toolkit 0.1.1 → 0.1.3
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 +1 -11
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -2,8 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
TypeScript utilities for Indonesian data validation and formatting.
|
|
4
4
|
|
|
5
|
-
[](https://www.typescriptlang.org/)
|
|
5
|
+
[](https://typescriptlang.org/)
|
|
7
6
|
[](https://opensource.org/licenses/MIT)
|
|
8
7
|
|
|
9
8
|
## Why?
|
|
@@ -217,8 +216,6 @@ export default {
|
|
|
217
216
|
| `formatNIK(nik, separator?)` | Format with separators |
|
|
218
217
|
| `maskNIK(nik, options?)` | Mask for privacy |
|
|
219
218
|
|
|
220
|
-
[Full NIK docs →](#)
|
|
221
|
-
|
|
222
219
|
### Phone Module
|
|
223
220
|
|
|
224
221
|
| Function | Description |
|
|
@@ -228,8 +225,6 @@ export default {
|
|
|
228
225
|
| `getOperator(phone)` | Detect operator (Telkomsel, XL, etc) |
|
|
229
226
|
| `parsePhoneNumber(phone)` | Get all phone info |
|
|
230
227
|
|
|
231
|
-
[Full Phone docs →](#)
|
|
232
|
-
|
|
233
228
|
### Currency Module
|
|
234
229
|
|
|
235
230
|
| Function | Description |
|
|
@@ -240,8 +235,6 @@ export default {
|
|
|
240
235
|
| `toWords(amount, options?)` | Convert to Indonesian words |
|
|
241
236
|
| `roundToClean(amount, unit?)` | Round to clean amounts |
|
|
242
237
|
|
|
243
|
-
[Full Currency docs →](#)
|
|
244
|
-
|
|
245
238
|
## Bundle Size
|
|
246
239
|
|
|
247
240
|
| Module | Size (minified + gzipped) |
|
|
@@ -267,8 +260,6 @@ Found a bug? Want to add more Indonesian utilities?
|
|
|
267
260
|
3. Make changes and add tests
|
|
268
261
|
4. Submit a PR
|
|
269
262
|
|
|
270
|
-
We welcome contributions! See [CONTRIBUTING.md](CONTRIBUTING.md) for guidelines.
|
|
271
|
-
|
|
272
263
|
## Roadmap
|
|
273
264
|
|
|
274
265
|
- [x] NIK validation & parsing
|
|
@@ -288,7 +279,6 @@ MIT © [choiruladamm](https://github.com/choiruladamm)
|
|
|
288
279
|
|
|
289
280
|
- 📖 [Documentation](#) (coming soon)
|
|
290
281
|
- 🐛 [Report Issues](https://github.com/yourusername/indo-dev-utils/issues)
|
|
291
|
-
- 💬 [Discussions](https://github.com/yourusername/indo-dev-utils/discussions)
|
|
292
282
|
|
|
293
283
|
---
|
|
294
284
|
|