Simple library for loading and saving Gettext PO files.
JavaScript
Switch branches/tags
Nothing to show
Clone or download
#1 Compare This branch is 7 commits ahead, 8 commits behind mikejholly:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
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!');
    });
});