{"_id":"@byldrma3/translint","_rev":"3-d599f93ea0f55f515a816d95fd28155e","name":"@byldrma3/translint","dist-tags":{"latest":"1.0.3"},"versions":{"1.0.0":{"name":"@byldrma3/translint","version":"1.0.0","keywords":["typescript","i18n","translations","language-checker"],"author":{"name":"byldrma3"},"license":"MIT","_id":"@byldrma3/translint@1.0.0","maintainers":[{"name":"byldrma3","email":"byldrm833@gmail.com"}],"dist":{"shasum":"b8e09d99f6b2b3c15c4043d180df6f15e0d581b8","tarball":"https://registry.npmjs.org/@byldrma3/translint/-/translint-1.0.0.tgz","fileCount":4,"integrity":"sha512-0x5xlsZVjaS/dP9q9YgU91X0RpitEXH3gEbGCuJ/sWx9SVJ7qtniEgZO09iR8rXJSZX26WHrm92ddj2fcKVZIQ==","signatures":[{"sig":"MEUCIEXUDLVm9MMb2J1lXf2EVxYsDShVMDNYpYFWV2oAh+2JAiEAvEQ7qWNDhRjL0cejzJMhrV4s28/X3ImIv+lUmQMMtNg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":3536},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"a17c1e3577c8b403eb37be1bc1273b15a260a2b4","scripts":{"test":"jest","build":"tsc","prepare":"yarn build"},"_npmUser":{"name":"byldrma3","email":"byldrm833@gmail.com"},"_npmVersion":"9.5.1","description":"A TypeScript package to check language files for missing translations","directories":{},"_nodeVersion":"18.16.0","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"packageManager":"yarn@4.5.3","devDependencies":{"jest":"^29.7.0","ts-jest":"^29.1.2","typescript":"^5.4.2","@types/jest":"^29.5.14","@types/lodash":"^4"},"_npmOperationalInternal":{"tmp":"tmp/translint_1.0.0_1740171157199_0.9018322718645242","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@byldrma3/translint","version":"1.0.1","keywords":["typescript","i18n","translations","language-checker"],"author":{"name":"byldrma3"},"license":"MIT","_id":"@byldrma3/translint@1.0.1","maintainers":[{"name":"byldrma3","email":"byldrm833@gmail.com"}],"homepage":"https://github.com/byldrma3/translint#readme","bugs":{"url":"https://github.com/byldrma3/translint/issues"},"dist":{"shasum":"ebc6e71ed3879700ef30c9d7a8d3c2bb6ff68fdf","tarball":"https://registry.npmjs.org/@byldrma3/translint/-/translint-1.0.1.tgz","fileCount":4,"integrity":"sha512-fEiMtd1fwaF4m3obn7dBiC6hw0kJhPiwnvxGY5rj2/LQsfJUG/4TqL/UTsDcZ6JbamcEK/FzkaUUSSNJMKbW0Q==","signatures":[{"sig":"MEQCIA5K/ZOV3+meI8ahyywKuFNVkCY2w/EkMZugkTjXPywpAiA++Qisqx1hlMZJd6Fc0ICCj0FDfHy3Ymnw3xIKk03zeQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":3699},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"d5e62ff2837b71ad42bdf011da22ecb41b70723d","scripts":{"test":"jest","build":"tsc","prepare":"yarn build"},"_npmUser":{"name":"byldrma3","email":"byldrm833@gmail.com"},"repository":{"url":"git+https://github.com/byldrma3/translint.git","type":"git"},"_npmVersion":"9.5.1","description":"A TypeScript package to check language files for missing translations","directories":{},"_nodeVersion":"18.16.0","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"packageManager":"yarn@4.5.3","devDependencies":{"jest":"^29.7.0","ts-jest":"^29.1.2","typescript":"^5.4.2","@types/jest":"^29.5.14","@types/lodash":"^4"},"_npmOperationalInternal":{"tmp":"tmp/translint_1.0.1_1740171295601_0.9578964296070414","host":"s3://npm-registry-packages-npm-production"}},"1.0.2":{"name":"@byldrma3/translint","version":"1.0.2","keywords":["typescript","i18n","translations","language-checker"],"author":{"name":"byldrma3"},"license":"MIT","_id":"@byldrma3/translint@1.0.2","maintainers":[{"name":"byldrma3","email":"byldrm833@gmail.com"}],"homepage":"https://github.com/byldrma3/translint#readme","bugs":{"url":"https://github.com/byldrma3/translint/issues"},"dist":{"shasum":"927b471bbb9141e5d3b9e68763f91b05fc1d226c","tarball":"https://registry.npmjs.org/@byldrma3/translint/-/translint-1.0.2.tgz","fileCount":5,"integrity":"sha512-WA9dJ2RoUrZM0WuIbitlKWko/2457WPDypGpVu4+H26SEOUyvRISxBvuaGH3ZKBcAjAIzP8+ZCGMQNPaG0Vm8w==","signatures":[{"sig":"MEUCIFYxxzk+dA5TuT0jMpboOp9UpccXmExWS6GIU8gLPBXMAiEAx8TUOQcdS8A7SjZbK+1pRrrbyeVAt68owTgktmRIg7o=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":4860},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"e609e313527074c684155ccdc6e82caa04dad649","scripts":{"test":"jest","build":"tsc","prepare":"yarn build"},"_npmUser":{"name":"byldrma3","email":"byldrm833@gmail.com"},"repository":{"url":"git+https://github.com/byldrma3/translint.git","type":"git"},"_npmVersion":"9.5.1","description":"A TypeScript package to check language files for missing translations","directories":{},"_nodeVersion":"18.16.0","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"packageManager":"yarn@4.5.3","devDependencies":{"jest":"^29.7.0","ts-jest":"^29.1.2","typescript":"^5.4.2","@types/jest":"^29.5.14","@types/lodash":"^4"},"_npmOperationalInternal":{"tmp":"tmp/translint_1.0.2_1740174110490_0.48154858992104543","host":"s3://npm-registry-packages-npm-production"}},"1.0.3":{"name":"@byldrma3/translint","version":"1.0.3","description":"A TypeScript package to check language files for missing translations","repository":{"type":"git","url":"git+https://github.com/byldrma3/translint.git"},"homepage":"https://github.com/byldrma3/translint#readme","main":"dist/index.js","types":"dist/index.d.ts","scripts":{"build":"tsc","prepare":"yarn build","test":"jest"},"keywords":["typescript","i18n","translations","language-checker"],"author":{"name":"byldrma3"},"license":"MIT","packageManager":"yarn@4.5.3","dependencies":{"lodash":"^4.17.21"},"devDependencies":{"@types/jest":"^29.5.14","@types/lodash":"^4","jest":"^29.7.0","ts-jest":"^29.1.2","typescript":"^5.4.2"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"gitHead":"19fbe0385e0b72e7c7846ba20b41efade572f0de","bugs":{"url":"https://github.com/byldrma3/translint/issues"},"_id":"@byldrma3/translint@1.0.3","_nodeVersion":"18.16.0","_npmVersion":"9.5.1","dist":{"integrity":"sha512-NMW0IsQh1NKI0hlKiF9iWif6fhtBUBwMQn+cq4isQm2GFLJV1sGLoke9fE28pYLKpqv7RFR+y3lVAG/2tvIALA==","shasum":"fa5cd906249464ab987580cf5cef7e4c40061c1f","tarball":"https://registry.npmjs.org/@byldrma3/translint/-/translint-1.0.3.tgz","fileCount":5,"unpackedSize":4942,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDrKgUE7L5+IBr7PdOyNSxAUtJupSg6gRABi+vquy/d1gIhAOzBdDc20zkHhouO7rU931Wqq6ctoXfx9yVDF+vib02b"}]},"_npmUser":{"name":"byldrma3","email":"byldrm833@gmail.com"},"directories":{},"maintainers":[{"name":"byldrma3","email":"byldrm833@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/translint_1.0.3_1740244261860_0.2935186338993605"},"_hasShrinkwrap":false}},"time":{"created":"2025-02-21T20:52:37.138Z","modified":"2025-02-22T17:11:02.239Z","1.0.0":"2025-02-21T20:52:37.374Z","1.0.1":"2025-02-21T20:54:55.782Z","1.0.2":"2025-02-21T21:41:50.676Z","1.0.3":"2025-02-22T17:11:02.072Z"},"bugs":{"url":"https://github.com/byldrma3/translint/issues"},"author":{"name":"byldrma3"},"license":"MIT","homepage":"https://github.com/byldrma3/translint#readme","keywords":["typescript","i18n","translations","language-checker"],"repository":{"type":"git","url":"git+https://github.com/byldrma3/translint.git"},"description":"A TypeScript package to check language files for missing translations","maintainers":[{"name":"byldrma3","email":"byldrm833@gmail.com"}],"readme":"# TransLint\n\nA lightweight utility to detect missing translation keys across multiple language files.\n\n## Features\n\n- Flattens nested translation objects\n- Compares translation keys across all languages\n- Identifies missing translations for each language\n- Returns a clear status report\n\n## Installation\n\n```bash\nnpm install @byldrma3/translint\n# or\nyarn add @byldrma3/translint\n```\n\n## Usage\n\n```typescript\nimport { TransLint } from '@byldrma3/translint';\n\nconst languages = {\n  en: {\n    common: {\n      hello: 'Hello',\n      welcome: 'Welcome'\n    }\n  },\n  fr: {\n    common: {\n      hello: 'Bonjour'\n      // 'welcome' key is missing\n    }\n  }\n};\n\nconst result = TransLint(languages);\nconsole.log(result);\n// Output:\n// {\n//   result: [\n//     {\n//       language: 'fr',\n//       keys: ['common.welcome']\n//     }\n//   ],\n//   status: false\n// }\n```\n\n## Return Value\n\n- `result`: Array of missing translations per language (null if all translations are complete)\n- `status`: Boolean indicating if all translations are complete\n\n## License\n\nMIT © [MIT license](https://github.com/byldrma3/translint/blob/main/LICENSE)","readmeFilename":"README.md"}