1.0.0 • Published 4 years ago
gettext-po-parser v1.0.0
gettext-po-parser
A Gettext PO file parser written with peg.js. Tested to support parsing most PO files in the GNOME project, and every parsed node contains information for its location in source file.
Installation
npm install gettext-po-parser
Usage
import { parse } from 'gettext-po-parser';
const catalog = parse(input);
You can take a look at the type definitions for the returned data structure.
License
1.0.0
4 years ago