{"id":22331062,"url":"https://github.com/rodrigobdz/validi18n","last_synced_at":"2026-04-20T09:02:30.012Z","repository":{"id":57390422,"uuid":"171708781","full_name":"rodrigobdz/validi18n","owner":"rodrigobdz","description":"Ensure consistent keys across i18n translations","archived":false,"fork":false,"pushed_at":"2019-04-23T07:04:53.000Z","size":24,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-18T15:49:12.360Z","etag":null,"topics":["consistent","deep-keys","generator-lnm","i18n","i18n-js","json","npm-module","npm-package","test-helper","validate","validating","yarn"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/validi18n","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rodrigobdz.png","metadata":{"files":{"readme":"readme.md","changelog":"changelog.md","contributing":"contributing.md","funding":null,"license":"license","code_of_conduct":"code_of_conduct.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-02-20T16:27:33.000Z","updated_at":"2019-05-29T01:36:27.000Z","dependencies_parsed_at":"2022-09-15T06:04:36.361Z","dependency_job_id":null,"html_url":"https://github.com/rodrigobdz/validi18n","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rodrigobdz%2Fvalidi18n","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rodrigobdz%2Fvalidi18n/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rodrigobdz%2Fvalidi18n/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rodrigobdz%2Fvalidi18n/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rodrigobdz","download_url":"https://codeload.github.com/rodrigobdz/validi18n/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245605730,"owners_count":20643030,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["consistent","deep-keys","generator-lnm","i18n","i18n-js","json","npm-module","npm-package","test-helper","validate","validating","yarn"],"created_at":"2024-12-04T04:09:33.539Z","updated_at":"2026-04-20T09:02:24.981Z","avatar_url":"https://github.com/rodrigobdz.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# validi18n [![Build Status](https://travis-ci.org/rodrigobdz/validi18n.svg?branch=master)](https://travis-ci.org/rodrigobdz/validi18n) [![codecov](https://codecov.io/gh/rodrigobdz/validi18n/badge.svg?branch=master)](https://codecov.io/gh/rodrigobdz/validi18n?branch=master)\n\n\u003e Ensure consistent keys across i18n translations\n\n## Install\n\n```sh\n$ npm install validi18n\n```\n\n## Usage\n\n```js\nconst validi18n = require('validi18n')\n\nvalidi18n({ en: { save: 'Save' }, de: { save: 'Speichern' } })\n//=\u003e true\n\nvalidi18n({ en: { save: 'Save' }, de: {} })\n//console error =\u003e { en: ['save'], de: [] }\n//=\u003e false\n```\n\n## API\n\n### validi18n(translations)\n\n#### translations\n\nType: `Object`\n\nObject with translations for each language supported.\n\n## Credits\n\n- [deep-keys](https://github.com/a8m/deep-keys) - Helper for comparison of i18n objects\n\n- [generator-lnm](https://github.com/rodrigobdz/generator-lnm) - Awesome node module generator\n\n## License\n\n[MIT](license) © [Rodrigo Bermudez Schettino](https://rodrigobdz.github.io)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frodrigobdz%2Fvalidi18n","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frodrigobdz%2Fvalidi18n","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frodrigobdz%2Fvalidi18n/lists"}