{"id":18425659,"url":"https://github.com/zhanghai/gettext-po-parser","last_synced_at":"2025-04-13T18:18:22.921Z","repository":{"id":57250694,"uuid":"273772888","full_name":"zhanghai/gettext-po-parser","owner":"zhanghai","description":"Gettext PO file parser","archived":false,"fork":false,"pushed_at":"2020-07-31T21:11:44.000Z","size":13,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-13T18:18:18.525Z","etag":null,"topics":["gettext","i18n","javascript-library","l10n","parser","pegjs","po","typescript-library"],"latest_commit_sha":null,"homepage":null,"language":null,"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/zhanghai.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-06-20T19:37:16.000Z","updated_at":"2025-02-06T09:43:42.000Z","dependencies_parsed_at":"2022-08-24T16:52:02.723Z","dependency_job_id":null,"html_url":"https://github.com/zhanghai/gettext-po-parser","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zhanghai%2Fgettext-po-parser","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zhanghai%2Fgettext-po-parser/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zhanghai%2Fgettext-po-parser/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zhanghai%2Fgettext-po-parser/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zhanghai","download_url":"https://codeload.github.com/zhanghai/gettext-po-parser/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248758423,"owners_count":21156958,"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":["gettext","i18n","javascript-library","l10n","parser","pegjs","po","typescript-library"],"created_at":"2024-11-06T05:04:46.345Z","updated_at":"2025-04-13T18:18:22.901Z","avatar_url":"https://github.com/zhanghai.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# gettext-po-parser\n\n[![NPM version](https://img.shields.io/npm/v/gettext-po-parser.svg)](https://npmjs.org/package/gettext-po-parser)\n[![Node.js CI status](https://github.com/zhanghai/gettext-po-parser/workflows/Node.js%20CI/badge.svg)](https://github.com/zhanghai/gettext-po-parser/actions)\n[![NPM downloads](https://img.shields.io/npm/dt/gettext-po-parser.svg)](https://npmjs.org/package/gettext-po-parser)\n\nA Gettext PO file parser written with [peg.js](https://github.com/pegjs/pegjs). Tested to support parsing most PO files in the GNOME project, and every parsed node contains information for its location in source file.\n\n## Installation\n\n```shell\nnpm install gettext-po-parser\n```\n\n## Usage\n\n```typescript\nimport { parse } from 'gettext-po-parser';\n\nconst catalog = parse(input);\n```\n\nYou can take a look at the [type definitions](parser.d.ts) for the returned data structure.\n\n## License\n\n[MIT](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzhanghai%2Fgettext-po-parser","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzhanghai%2Fgettext-po-parser","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzhanghai%2Fgettext-po-parser/lists"}