@arkyn/templates 3.0.3 → 3.0.4
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 +5 -5
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @arkyn/templates
|
|
2
2
|
|
|
3
|
-
Ready-to-use static data for international and Brazilian applications
|
|
3
|
+
Ready-to-use static data for international and Brazilian applications, country lists, phone masks, Brazilian states, and currency/locale metadata, so you don't have to source and maintain this data yourself.
|
|
4
4
|
|
|
5
5
|
[](https://www.npmjs.com/package/@arkyn/templates)
|
|
6
6
|
[](https://opensource.org/licenses/Apache-2.0)
|
|
@@ -8,7 +8,7 @@ Ready-to-use static data for international and Brazilian applications — countr
|
|
|
8
8
|
|
|
9
9
|
## 🎯 What it solves
|
|
10
10
|
|
|
11
|
-
Building phone inputs, address forms, or currency formatters usually means sourcing and hand-maintaining reference data: every country's dialing code and phone mask, all Brazilian states, and locale/currency pairs for `Intl.NumberFormat`. `@arkyn/templates` ships that data as typed, ready-to-import constants, so `@arkyn/components` (phone/currency inputs, address selects) and `@arkyn/shared` (currency formatting)
|
|
11
|
+
Building phone inputs, address forms, or currency formatters usually means sourcing and hand-maintaining reference data: every country's dialing code and phone mask, all Brazilian states, and locale/currency pairs for `Intl.NumberFormat`. `@arkyn/templates` ships that data as typed, ready-to-import constants, so `@arkyn/components` (phone/currency inputs, address selects) and `@arkyn/shared` (currency formatting), or your own app, can consume it directly without any setup, network calls, or extra dependencies.
|
|
12
12
|
|
|
13
13
|
## ✨ Features
|
|
14
14
|
|
|
@@ -24,11 +24,11 @@ Building phone inputs, address forms, or currency formatters usually means sourc
|
|
|
24
24
|
- Node.js `>=18.0.0`
|
|
25
25
|
- Bun `>=1.0.0` (only if building/developing the monorepo itself)
|
|
26
26
|
|
|
27
|
-
This package has no runtime dependencies and no peer dependencies
|
|
27
|
+
This package has no runtime dependencies and no peer dependencies, it can be installed standalone.
|
|
28
28
|
|
|
29
29
|
## 📦 Installation
|
|
30
30
|
|
|
31
|
-
> **ESM only.** This package ships as native ES modules with no CommonJS build
|
|
31
|
+
> **ESM only.** This package ships as native ES modules with no CommonJS build, use `import`, not `require()`.
|
|
32
32
|
|
|
33
33
|
```bash
|
|
34
34
|
npm install @arkyn/templates
|
|
@@ -150,4 +150,4 @@ For more context on how this data is consumed across the ecosystem, see the [ful
|
|
|
150
150
|
|
|
151
151
|
## 📄 License
|
|
152
152
|
|
|
153
|
-
This project is licensed under the Apache 2.0 License
|
|
153
|
+
This project is licensed under the Apache 2.0 License, see the [LICENSE](./LICENSE.txt) file for details.
|