node-po-ext

0.1.3 • Public • Published

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!');
  });
});

/node-po-ext/

    Package Sidebar

    Install

    npm i node-po-ext

    Weekly Downloads

    10

    Version

    0.1.3

    License

    none

    Last publish

    Collaborators

    • lily-zhangying