Learn about our RFC process, Open RFC meetings & more.Join in the discussion! »

remarkup-po

0.1.2 • Public • Published

remarkup-po

NPM Version NPM Downloads Build Status Coverage Status Dependency Status devDependency Status

Utilities for using remarkup with .po files.

Install via npm install remarkup-po.

CLI usage

remarkup-po unmarkup original.pot > output.pot
remarkup-po remarkup original.pot unmarkupped.po > output.po

Programmatic usage

const originalPot = fs.readFileSync('(...).pot', 'utf-8');
const strippedPo = fs.readFileSync('(...).po', 'utf-8');
 
const strippedPot = remarkupPo.unmarkup(originalPot);
const finalPo = remarkupPo.remarkup(originalPot, strippedPo);
 
fs.writeFileSync('(...).po', finalPo);

License

MIT

Install

npm i remarkup-po

DownloadsWeekly Downloads

1

Version

0.1.2

License

MIT

Last publish

Collaborators

  • avatar