Skip to content
Simple library for loading and saving Gettext PO files.
JavaScript
Find file
#1 Compare This branch is 7 commits ahead, 8 commits behind mikejholly:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
lib
tests
LICENSE
README.md
package.json

README.md

Used to load and save PO files.

var po = require('po')
    , fs = require('fs')

po.load('text.po', function(_po){
    console.log(_po.headers);
    console.log(_po.items);

    _po.save('copy.po', function(){
    console.log('We copied a PO file for no reason!');
    });
});
Something went wrong with that request. Please try again.