Parse and serialize Gettext PO files.
fe2e17990a
This is a breaking change. But that's okay, the previous behavior for async was just plain wrong and would crash the entire node process, which is unacceptable. A major version bump will be needed to release this. |
||
---|---|---|
lib | ||
tests | ||
.gitignore | ||
.jshintrc | ||
Gruntfile.coffee | ||
LICENSE | ||
package.json | ||
README.md |
Used to load and save PO files.
var po = require('node-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!');
});
});