{"_id":"@akson/cortex-landing-intl","_rev":"4-1cbdbcb4679e64bbb27166d00e1ae96d","name":"@akson/cortex-landing-intl","dist-tags":{"latest":"0.4.1"},"versions":{"0.3.0":{"name":"@akson/cortex-landing-intl","version":"0.3.0","keywords":["akson","landing","internationalization","phone-validation","formatting","i18n","swiss"],"author":{"name":"MyArmy","email":"contact@myarmy.ch"},"license":"MIT","_id":"@akson/cortex-landing-intl@0.3.0","maintainers":[{"name":"antoineschaller","email":"antoine.schaller@akson.ch"}],"homepage":"https://github.com/antoineschaller/myarmy/tree/main/packages/@akson/cortex-landing-intl","bugs":{"url":"https://github.com/antoineschaller/myarmy/issues"},"dist":{"shasum":"8e194ac19ed54bfd339b86234a9e2ed91d62585d","tarball":"https://registry.npmjs.org/@akson/cortex-landing-intl/-/cortex-landing-intl-0.3.0.tgz","fileCount":2,"integrity":"sha512-Gq+w9ParcuPuvxW0IB1HO27WNXQ9jADGMNk6VTnXZg0LorJnvxVI19y23s0Ux0pQlLMOuC1Wcxmn+8G0HPwjnw==","signatures":[{"sig":"MEUCIGNbd0N2aI5zoPzRAWk+mEr1+fGDN8/rcLhliVrZwk56AiEA8RGPce4jsUgwWonkfdZAbZ7qey6Wkz7qV/po6+Qu0Vo=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":3889},"main":"dist/index.js","types":"dist/index.d.ts","module":"dist/index.mjs","engines":{"node":">=18.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./i18n":{"types":"./dist/i18n.d.ts","import":"./dist/i18n.mjs","require":"./dist/i18n.js"},"./phone":{"types":"./dist/phone.d.ts","import":"./dist/phone.mjs","require":"./dist/phone.js"},"./locale":{"types":"./dist/locale.d.ts","import":"./dist/locale.mjs","require":"./dist/locale.js"},"./currency":{"types":"./dist/currency.d.ts","import":"./dist/currency.mjs","require":"./dist/currency.js"}},"gitHead":"84153813d2b6cc183f00f23d04cf0e887c512fbe","scripts":{"dev":"tsup src/index.ts --format cjs,esm --dts --watch","lint":"biome check .","test":"vitest run","build":"npm run build:main && npm run build:modules && npm run build:copy","clean":"rm -rf dist node_modules/.cache","lint:fix":"biome check --write .","build:copy":"cp dist/phone/index.js dist/phone.js && cp dist/phone/index.mjs dist/phone.mjs && cp dist/phone/index.d.ts dist/phone.d.ts && cp dist/currency/index.js dist/currency.js && cp dist/currency/index.mjs dist/currency.mjs && cp dist/currency/index.d.ts dist/currency.d.ts && cp dist/locale/index.js dist/locale.js && cp dist/locale/index.mjs dist/locale.mjs && cp dist/locale/index.d.ts dist/locale.d.ts && cp dist/i18n/index.js dist/i18n.js && cp dist/i18n/index.mjs dist/i18n.mjs && cp dist/i18n/index.d.ts dist/i18n.d.ts","build:main":"tsup src/index.ts --format cjs,esm --dts --clean","test:watch":"vitest","build:modules":"tsup src/phone/index.ts src/currency/index.ts src/locale/index.ts src/i18n/index.ts --format cjs,esm --dts --clean=false"},"_npmUser":{"name":"antoineschaller","email":"antoine.schaller@akson.ch"},"repository":{"url":"git+https://github.com/antoineschaller/myarmy.git","type":"git","directory":"packages/@akson/cortex-landing-intl"},"_npmVersion":"11.5.1","description":"International utilities for @akson/cortex-landing - phone validation, formatting, and localization","directories":{},"_nodeVersion":"24.7.0","dependencies":{"libphonenumber-js":"^1.10.61"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.1","vitest":"^1.2.0","typescript":"^5.3.3","@types/node":"^20.11.0","@biomejs/biome":"^1.8.3"},"peerDependencies":{"react":">=18.0.0"},"peerDependenciesMeta":{"react":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/cortex-landing-intl_0.3.0_1757682931941_0.7527242933446667","host":"s3://npm-registry-packages-npm-production"},"deprecated":"Deprecated: inlined into consumer projects. No longer maintained."},"0.4.0":{"name":"@akson/cortex-landing-intl","version":"0.4.0","keywords":["i18n","internationalization","formatting","phone","utilities","cortex","akson"],"author":{"name":"AKSON"},"license":"MIT","_id":"@akson/cortex-landing-intl@0.4.0","maintainers":[{"name":"antoineschaller","email":"antoine.schaller@akson.ch"}],"homepage":"https://github.com/akson-ai/cortex-packages#readme","bugs":{"url":"https://github.com/akson-ai/cortex-packages/issues"},"dist":{"shasum":"c7d3a4ca8ec8901252a97ca0ead4cea3f96b3766","tarball":"https://registry.npmjs.org/@akson/cortex-landing-intl/-/cortex-landing-intl-0.4.0.tgz","fileCount":10,"integrity":"sha512-2/vREaCaWUVEM9IGeNkOw0GAAFcztj0Ojgr+caIPJ1iF4wirN0SmV+i7WH3lEJlkrWzyDPhT5jAubOKTmqe6vQ==","signatures":[{"sig":"MEYCIQDiTQYEZXz/nknc345QTGKWzTEK1HHFNjN6uW6x+tmjowIhAPHYuzNdhYs7jC4634u3J6Ql0VlsW3Qten8Z2749uq3n","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":17981},"main":"dist/index.js","types":"dist/index.d.ts","module":"dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./phone":{"types":"./dist/phone.d.ts","import":"./dist/phone.mjs","require":"./dist/phone.js"}},"gitHead":"7a30fe44efdba549a19905e795dcfc934092d22a","scripts":{"dev":"tsup --watch","lint":"biome check .","test":"vitest","build":"tsup","lint:fix":"biome check --write .","typecheck":"tsc --noEmit","prepublishOnly":"npm run build"},"_npmUser":{"name":"antoineschaller","email":"antoine.schaller@akson.ch"},"repository":{"url":"git+https://github.com/akson-ai/cortex-packages.git","type":"git","directory":"packages/landing-intl"},"_npmVersion":"11.5.1","description":"Internationalization utilities for @akson/cortex landing pages","directories":{},"_nodeVersion":"24.7.0","dependencies":{},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.5.0","vitest":"^3.2.4","typescript":"^5.9.2","@types/node":"^22.18.1","@biomejs/biome":"^2.2.2"},"_npmOperationalInternal":{"tmp":"tmp/cortex-landing-intl_0.4.0_1758200140568_0.8607382429598087","host":"s3://npm-registry-packages-npm-production"},"deprecated":"Deprecated: inlined into consumer projects. No longer maintained."},"0.4.1":{"name":"@akson/cortex-landing-intl","version":"0.4.1","keywords":["akson","landing","internationalization","phone-validation","formatting","i18n","swiss"],"author":{"name":"Akson","email":"contact@akson.ch"},"license":"MIT","_id":"@akson/cortex-landing-intl@0.4.1","maintainers":[{"name":"antoineschaller","email":"antoine.schaller@akson.ch"}],"homepage":"https://github.com/antoineschaller/cortex-packages/tree/main/packages/@akson/cortex-landing-intl","bugs":{"url":"https://github.com/antoineschaller/cortex-packages/issues"},"dist":{"shasum":"b338f0f94208398ec343ed5aa823c7881271e8ce","tarball":"https://registry.npmjs.org/@akson/cortex-landing-intl/-/cortex-landing-intl-0.4.1.tgz","fileCount":34,"integrity":"sha512-qKKA17sYasEA9NMFPcKxj8VRDRJ7Dl9MhTd0ltG6RnhO9FHCfQgvOJU8HbZCaWZNEb5MNaSA8/uWXbGarTd9Vg==","signatures":[{"sig":"MEUCIQChv5WuLG87EpSE4l1BGtrsmdQcozz33zKYr1qbrQsKkwIgJiitUrz/8J5RzM/j/iwZ19s8W0GCWtm70kUYHK7DnwY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":223201},"main":"dist/index.js","types":"dist/index.d.ts","module":"dist/index.mjs","engines":{"node":">=18.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./i18n":{"types":"./dist/i18n.d.ts","import":"./dist/i18n.mjs","require":"./dist/i18n.js"},"./phone":{"types":"./dist/phone.d.ts","import":"./dist/phone.mjs","require":"./dist/phone.js"},"./locale":{"types":"./dist/locale.d.ts","import":"./dist/locale.mjs","require":"./dist/locale.js"},"./currency":{"types":"./dist/currency.d.ts","import":"./dist/currency.mjs","require":"./dist/currency.js"}},"gitHead":"b3a6a0832bb2fd230473076bde1bfc7810e9ac31","scripts":{"dev":"tsup src/index.ts --format cjs,esm --dts --watch","lint":"biome check .","test":"vitest run","build":"npm run build:main && npm run build:modules && npm run build:copy","clean":"rm -rf dist node_modules/.cache","lint:fix":"biome check --write .","build:copy":"cp dist/phone/index.js dist/phone.js && cp dist/phone/index.mjs dist/phone.mjs && cp dist/phone/index.d.ts dist/phone.d.ts && cp dist/currency/index.js dist/currency.js && cp dist/currency/index.mjs dist/currency.mjs && cp dist/currency/index.d.ts dist/currency.d.ts && cp dist/locale/index.js dist/locale.js && cp dist/locale/index.mjs dist/locale.mjs && cp dist/locale/index.d.ts dist/locale.d.ts && cp dist/i18n/index.js dist/i18n.js && cp dist/i18n/index.mjs dist/i18n.mjs && cp dist/i18n/index.d.ts dist/i18n.d.ts","build:main":"tsup src/index.ts --format cjs,esm --dts --clean","test:watch":"vitest","build:modules":"tsup src/phone/index.ts src/currency/index.ts src/locale/index.ts src/i18n/index.ts --format cjs,esm --dts --clean=false"},"_npmUser":{"name":"antoineschaller","email":"antoine.schaller@akson.ch"},"repository":{"url":"git+https://github.com/antoineschaller/cortex-packages.git","type":"git","directory":"packages/@akson/cortex-landing-intl"},"_npmVersion":"11.6.0","description":"International utilities for @akson/cortex-landing - phone validation, formatting, and localization","directories":{},"_nodeVersion":"24.8.0","dependencies":{"libphonenumber-js":"^1.10.61"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.1","vitest":"^1.2.0","typescript":"^5.3.3","@types/node":"^20.11.0","@biomejs/biome":"^1.8.3"},"_npmOperationalInternal":{"tmp":"tmp/cortex-landing-intl_0.4.1_1759753032782_0.3849169117864524","host":"s3://npm-registry-packages-npm-production"},"deprecated":"Deprecated: inlined into consumer projects. No longer maintained."}},"time":{"created":"2025-09-12T13:15:31.861Z","modified":"2026-03-19T11:54:43.273Z","0.3.0":"2025-09-12T13:15:32.125Z","0.4.0":"2025-09-18T12:55:40.791Z","0.4.1":"2025-10-06T12:17:12.971Z"},"bugs":{"url":"https://github.com/antoineschaller/cortex-packages/issues"},"author":{"name":"Akson","email":"contact@akson.ch"},"license":"MIT","homepage":"https://github.com/antoineschaller/cortex-packages/tree/main/packages/@akson/cortex-landing-intl","keywords":["akson","landing","internationalization","phone-validation","formatting","i18n","swiss"],"repository":{"url":"git+https://github.com/antoineschaller/cortex-packages.git","type":"git","directory":"packages/@akson/cortex-landing-intl"},"description":"International utilities for @akson/cortex-landing - phone validation, formatting, and localization","maintainers":[{"name":"antoineschaller","email":"antoine.schaller@akson.ch"}],"readme":"# @akson/cortex-landing-intl\n\n> International utilities for @akson/cortex-landing - phone validation, formatting, and localization\n\n## Installation\n\n```bash\nnpm install @akson/cortex-landing-intl\n```\n\n## Usage\n\n```typescript\nimport { PhoneUtils, SwissValidation, I18nUtils } from '@akson/cortex-landing-intl';\n\n// Swiss phone validation\nconst isValid = SwissValidation.isValidPhone('+41791234567');\n\n// Phone formatting\nconst formatted = PhoneUtils.format('+41791234567', 'CH');\n\n// Localization\nconst message = I18nUtils.t('contact.whatsapp.message');\n```\n\n## Features\n\n- Swiss phone number validation\n- International phone formatting\n- Swiss postal code validation\n- Military terminology localization\n- German/French/Italian support\n\n## Validation Rules\n\n```typescript\n// Swiss phone patterns\nconst mobilePattern = /^\\+41(7[5-9]|8[0-9])\\d{7}$/;\n\n// Swiss postal codes\nconst postalPattern = /^[1-9]\\d{3}$/;\n```\n\n## License\n\nMIT © MyArmy","readmeFilename":"README.md"}