文件名称:xml-compare.js:比较XML流
文件大小:6KB
文件格式:ZIP
更新时间:2024-05-20 03:45:41
JavaScript
xml-compare.js 比较xml流 高性能的XML流比较器 CLI用法 xml-compare expected.xml < actual.xml 原料药 var fs = require ( 'fs' ) , XmlCompare = require ( './xml-compare' ) ; var exectedFile = ... var actualFile = ... var expectedStream = fs . createReadStream ( expectedFile ) ; var actualStream = fs . createReadStream ( expectedFile ) ; XmlCompare . compare ( expectedStream , actualStream ) . on ( 'same' , f
【文件预览】:
xml-compare.js-master
----.gitignore(33B)
----package.json(628B)
----bin()
--------compare(310B)
----LICENSE(1KB)
----README.md(1KB)
----tests()
--------test.js(3KB)
----lib()
--------xpath.js(3KB)
--------index.js(5KB)