pofile/README.md

15 lines
326 B
Markdown
Raw Normal View History

2011-12-23 04:21:27 +04:00
Used to load and save PO files.
2013-07-29 13:49:59 +04:00
var po = require('node-po')
2011-12-28 00:03:19 +04:00
, 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!');
});
});
2013-07-29 13:49:59 +04:00