xliff-to-object
v0.0.8
Published
Parse XLIFF into JavaScript object
Downloads
4
Readme
Takes an XLIFF and fetches an object containing two arrays of strings, one for each language.
Example usage:
var fs = require('fs')
var convert = require('xliff-to-object')
var xliffData = fs.readFileSync(file, 'utf8')
convert(xliffData, returnObject => {
console.log(returnObject)
})