{"_id":"gavel2html","_rev":"26-b970dc41d0ad25a18e6860a064fc544f","name":"gavel2html","description":"Convert output from Gavel to HTML","dist-tags":{"latest":"2.1.0"},"versions":{"0.0.1":{"name":"gavel2html","version":"0.0.1","description":"Convert output from Gavel to HTML","main":"lib/index.js","scripts":{"test":"scripts/test","prepublish":"scripts/prepublish"},"repository":{"type":"git","url":"https://github.com/apiaryio/gavel2html.git"},"keywords":["gavel","html","http","test","validate","validation","testing","diff"],"author":{"name":"Peter Grilli","email":"tully@apiary.io"},"license":"MIT","bugs":{"url":"https://github.com/apiaryio/gavel2html/issues"},"homepage":"https://github.com/apiaryio/gavel2html","devDependencies":{"chai":"^1.10.0","coffee-script":"^1.8.0","mocha":"^2.0.1"},"dependencies":{"googlediff":"^0.1.0","json-pointer":"^0.2.2","traverse":"^0.6.6"},"gitHead":"22601f15cb4fee3def7be23dd657bfedc95c1515","_id":"gavel2html@0.0.1","_shasum":"61a6cd1272cc5dab7dc5a69ca5c0a93ee874887d","_from":".","_npmVersion":"1.5.0-alpha-1","_npmUser":{"name":"netmilk","email":"adam@apiary.io"},"maintainers":[{"name":"netmilk","email":"adam@apiary.io"}],"dist":{"shasum":"61a6cd1272cc5dab7dc5a69ca5c0a93ee874887d","tarball":"https://registry.npmjs.org/gavel2html/-/gavel2html-0.0.1.tgz","integrity":"sha512-MmwMI+AFb9KLnp5XZzYgPoU3rh91Zkymivs4vxii/+kgcH+D3Vbr5C7nRsHSEF9nYJvWOSLohEqQ170eAB5rrw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBsoljbDbw7oR0ozosv9k2RcFNVhvumJcjeVjSsdvCfcAiEAldvZApIZlVYMuFEcplmdIFv68Ml+sfgzr+BHXuwzFyM="}]},"directories":{}},"0.1.0":{"name":"gavel2html","version":"0.1.0","description":"Convert output from Gavel to HTML","main":"lib/index.js","scripts":{"test":"scripts/test","prepublish":"scripts/prepublish"},"repository":{"type":"git","url":"https://github.com/apiaryio/gavel2html.git"},"keywords":["gavel","html","http","test","validate","validation","testing","diff"],"author":{"name":"Peter Grilli","email":"tully@apiary.io"},"license":"MIT","bugs":{"url":"https://github.com/apiaryio/gavel2html/issues"},"homepage":"https://github.com/apiaryio/gavel2html","devDependencies":{"chai":"^1.10.0","coffee-script":"^1.8.0","mocha":"^2.0.1"},"dependencies":{"clone":"^0.2.0","googlediff":"^0.1.0","is-type":"~0.0.1","json-pointer":"^0.2.2","traverse":"^0.6.6"},"gitHead":"1f0d32c33b76e6abe9ec5cd4e693852d093e2d67","_id":"gavel2html@0.1.0","_shasum":"910640cbcc74be5271b769c50faa3400a298bea8","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"netmilk","email":"adam@apiary.io"},"maintainers":[{"name":"netmilk","email":"adam@apiary.io"},{"name":"almad","email":"bugs@almad.net"},{"name":"tu1ly","email":"tully@apiary.io"},{"name":"abtris","email":"ladislav@apiary.io"},{"name":"apiary","email":"lukas+npm@apiary.io"},{"name":"kubakubula","email":"kubula@apiary.io"}],"dist":{"shasum":"910640cbcc74be5271b769c50faa3400a298bea8","tarball":"https://registry.npmjs.org/gavel2html/-/gavel2html-0.1.0.tgz","integrity":"sha512-MgnTYKpSpqVTvvJOWmMqElS11Ub7FZgXkFPh8jE6O3+lOTmiOVmQtSZh/XFDvM0sjAsqT6dQaCVDAWlKqxgrmA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHGDc3+lo7ivrcq3gbopXHa/Yiv5eXfdi6wXhRQ7WYTVAiEA5O/Et7LxnZu7p0ZBm+q8r8+vKhcwpzE1aq7lioi4SSE="}]},"directories":{}},"0.2.0-unstable.1":{"name":"gavel2html","version":"0.2.0-unstable.1","description":"Convert output from Gavel to HTML","main":"lib/index.js","scripts":{"test":"scripts/test","prepublish":"scripts/prepublish"},"repository":{"type":"git","url":"https://github.com/apiaryio/gavel2html.git"},"keywords":["gavel","html","http","test","validate","validation","testing","diff"],"author":{"name":"Peter Grilli","email":"tully@apiary.io"},"license":"MIT","bugs":{"url":"https://github.com/apiaryio/gavel2html/issues"},"homepage":"https://github.com/apiaryio/gavel2html","devDependencies":{"chai":"^1.10.0","coffee-script":"^1.9.1","mocha":"^2.2.4"},"dependencies":{"clone":"^1.0.2","googlediff":"^0.1.0","is-type":"~0.0.1","json-pointer":"^0.3.0","traverse":"^0.6.6"},"gitHead":"dd4d441efa04d948ba2009a83f70910ba3871c51","_id":"gavel2html@0.2.0-unstable.1","_shasum":"6dd15c05540a2c29eeff59cf41917421c3be24f6","_from":".","_npmVersion":"2.7.4","_nodeVersion":"0.10.35","_npmUser":{"name":"kubakubula","email":"kubula@apiary.io"},"maintainers":[{"name":"netmilk","email":"adam@apiary.io"},{"name":"almad","email":"bugs@almad.net"},{"name":"tu1ly","email":"tully@apiary.io"},{"name":"abtris","email":"ladislav@apiary.io"},{"name":"apiary","email":"lukas+npm@apiary.io"},{"name":"kubakubula","email":"kubula@apiary.io"}],"dist":{"shasum":"6dd15c05540a2c29eeff59cf41917421c3be24f6","tarball":"https://registry.npmjs.org/gavel2html/-/gavel2html-0.2.0-unstable.1.tgz","integrity":"sha512-Dd02g8WuHzFAqyEjdRVIymvHs9cDbkQELl4WUtdIn88S4itTyRbJW0Yk3j7MmD0hC6q+IMTzmbWyw0VfOvkM1w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCsxiB44yjt8h7pBlLPxGlYnqA2USvjZt58QVZ//oz6tAIhAL/r6JRlcxlQLIx++YyHmlTxkPp/IPPQvlezCt6dDgOB"}]},"directories":{}},"1.0.0":{"name":"gavel2html","version":"1.0.0","description":"Render Gavel.js output to HTML diff","main":"lib/index.js","scripts":{"build":"coffee -b -c -o lib/ src/","lint":"coffeelint src","test":"npm run test:server && npm run test:browser","test:server":"mocha \"test/**/*.coffee\"","test:browser":"mochify \"test/**/*.coffee\" --transform=coffeeify --extension=.coffee","prepublish":"npm run build","semantic-release":"semantic-release pre && npm publish && semantic-release post"},"repository":{"type":"git","url":"git+https://github.com/apiaryio/gavel2html.git"},"dependencies":{"clone":"^2.1.1","googlediff":"^0.1.0","is-type":"~0.0.1","json-pointer":"^0.6.0","traverse":"^0.6.6"},"devDependencies":{"chai":"^3.5.0","coffee-script":"^1.12.5","coffeeify":"^2.1.0","coffeelint":"^1.16.0","cz-conventional-changelog":"^2.0.0","mocha":"^3.3.0","mochify":"^3.1.1","semantic-release":"^6.3.2"},"keywords":["html","http","validation","diff","request","response","gavel"],"author":{"name":"Apiary Czech Republic, s.r.o.","email":"support@apiary.io"},"license":"MIT","config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"}},"gitHead":"1c59aad2d1532b70d40b5d00b164e7a9235cffc4","bugs":{"url":"https://github.com/apiaryio/gavel2html/issues"},"homepage":"https://github.com/apiaryio/gavel2html#readme","_id":"gavel2html@1.0.0","_shasum":"4b9dc901f19ddbef759c84ee5f2aaee88da55773","_from":".","_npmVersion":"4.5.0","_nodeVersion":"4.8.2","_npmUser":{"name":"apiary-sre","email":"sre@apiary.io"},"dist":{"shasum":"4b9dc901f19ddbef759c84ee5f2aaee88da55773","tarball":"https://registry.npmjs.org/gavel2html/-/gavel2html-1.0.0.tgz","integrity":"sha512-TMl/WMSjghFIu94SXa4D5b20KNdMkffMk1U6j2afCCdkWQXs/Fpq49WtUHk5MdUhSqupD68hkPhxZSjT4cT/8g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFwGOnVkTOOUlQ2HjljQmIbn5Y57ouCSIhfGcQ16Dxa1AiABOb94nqOL67xlojHFJdrYXx07OxrvF0w1CayknqQAvA=="}]},"maintainers":[{"name":"abtris","email":"ladislav@apiary.io"},{"name":"almad","email":"bugs@almad.net"},{"name":"apiary","email":"lukas+npm@apiary.io"},{"name":"apiary-sre","email":"sre@apiary.io"},{"name":"kubakubula","email":"kubula@apiary.io"},{"name":"netmilk","email":"adam@apiary.io"},{"name":"tu1ly","email":"tully@apiary.io"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/gavel2html-1.0.0.tgz_1493035888684_0.8303668261505663"},"directories":{}},"1.0.1":{"name":"gavel2html","version":"1.0.1","description":"Render Gavel.js output to HTML diff","main":"lib/index.js","scripts":{"build":"npm run build:coffee-script && npm run build:html-sanitizer","build:coffee-script":"coffee -b -c -o lib/ src/","build:html-sanitizer":"node -e \"var fs = require('fs'); fs.createReadStream('src/html-sanitizer.js').pipe(fs.createWriteStream('lib/html-sanitizer.js'));\"","lint":"coffeelint src","test":"npm run test:server && npm run test:browser","test:server":"mocha \"test/**/*.coffee\"","test:browser":"mochify \"test/**/*.coffee\" --transform=coffeeify --extension=.coffee","prepublish":"npm run build","semantic-release":"semantic-release pre && npm publish && semantic-release post"},"repository":{"type":"git","url":"git+https://github.com/apiaryio/gavel2html.git"},"dependencies":{"clone":"^2.1.1","googlediff":"^0.1.0","is-type":"~0.0.1","json-pointer":"^0.6.0","traverse":"^0.6.6"},"devDependencies":{"chai":"^3.5.0","coffee-script":"^1.12.5","coffeeify":"^2.1.0","coffeelint":"^1.16.0","cz-conventional-changelog":"^2.0.0","mocha":"^3.3.0","mochify":"^3.1.1","semantic-release":"^6.3.2"},"keywords":["html","http","validation","diff","request","response","gavel"],"author":{"name":"Apiary Czech Republic, s.r.o.","email":"support@apiary.io"},"license":"MIT","config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"}},"gitHead":"1f947066bb2c16d2171a488faf7e227336aa620c","bugs":{"url":"https://github.com/apiaryio/gavel2html/issues"},"homepage":"https://github.com/apiaryio/gavel2html#readme","_id":"gavel2html@1.0.1","_shasum":"9b43eda79041cd074e518126af8a0b4937d00603","_from":".","_npmVersion":"4.5.0","_nodeVersion":"4.8.3","_npmUser":{"name":"apiary-sre","email":"sre@apiary.io"},"dist":{"shasum":"9b43eda79041cd074e518126af8a0b4937d00603","tarball":"https://registry.npmjs.org/gavel2html/-/gavel2html-1.0.1.tgz","integrity":"sha512-aD84T5nLJCWNJ7iGsP3iloXMx2A5HgRFy/1tQo85EPiB/i+L2pGXgnocHmHRCsB9VQhU/0hKgE3TiJlIj02WpA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCztr5pC/bx+LORJX4Ub2PVP3f8NQ2oAInnE1b8yl9P6gIgJ74We5XnuS78uhsO/4jIc+6YiMm7xvaDp/kAlHZfzuQ="}]},"maintainers":[{"name":"abtris","email":"ladislav@apiary.io"},{"name":"almad","email":"bugs@almad.net"},{"name":"apiary","email":"lukas+npm@apiary.io"},{"name":"apiary-sre","email":"sre@apiary.io"},{"name":"kubakubula","email":"kubula@apiary.io"},{"name":"netmilk","email":"adam@apiary.io"},{"name":"tu1ly","email":"tully@apiary.io"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/gavel2html-1.0.1.tgz_1494513993557_0.9975475820247084"},"directories":{}},"1.0.2":{"name":"gavel2html","version":"1.0.2","description":"Convert output from Gavel to HTML","main":"lib/index.js","scripts":{"build":"npm run build:coffee-script && npm run build:html-sanitizer","build:coffee-script":"coffee -b -c -o lib/ src/","build:html-sanitizer":"node -e \"var fs = require('fs'); fs.createReadStream('src/html-sanitizer.js').pipe(fs.createWriteStream('lib/html-sanitizer.js'));\"","lint":"coffeelint src","test":"npm run test:server && npm run test:browser","test:server":"mocha \"test/**/*.coffee\"","test:browser":"mochify \"test/**/*.coffee\" --transform=coffeeify --extension=.coffee","prepublish":"npm run build"},"homepage":"https://github.com/apiaryio/gavel2html","repository":{"type":"git","url":"git+https://github.com/apiaryio/gavel2html.git"},"bugs":{"url":"https://github.com/apiaryio/gavel2html/issues"},"keywords":["html","http","validation","diff","request","response","gavel"],"author":{"name":"Apiary Czech Republic, s.r.o.","email":"support@apiary.io"},"license":"MIT","devDependencies":{"chai":"^1.10.0","coffeeify":"^2.1.0","coffee-script":"^1.9.1","mocha":"^2.2.4","mochify":"3.1.1"},"dependencies":{"clone":"^1.0.2","googlediff":"^0.1.0","is-type":"~0.0.1","json-pointer":"^0.3.0","traverse":"^0.6.6"},"gitHead":"e7876dd4ab890d983b43db1ffa13a8258ebe1d7f","_id":"gavel2html@1.0.2","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"honzajavorek","email":"mail@honzajavorek.cz"},"dist":{"integrity":"sha512-PUK7pzB+aHcFVP+aYy6omqTtIM0uQZNpk9KmHgNFUijIWwPx8M0eWAiuiqgtO2Jj+PMaZtN/BpRj4YdRuRJ5Hw==","shasum":"4a4c1ce3cedc04f7561aa5060452864708323d74","tarball":"https://registry.npmjs.org/gavel2html/-/gavel2html-1.0.2.tgz","fileCount":12,"unpackedSize":52875,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdNw0/CRA9TVsSAnZWagAATqUP/RVb0R+gUBEtm5qXPGAz\n/iB/WvnTxB/dpf7xqwCX4++/hHrL0B2rz9hTSQBG9mBuD+s2zQ5G7IpfiPx9\nsSFd51+V2snnqIgjceAwJF9uXYC0cWEYL4Qg84y46VFUH/QXbevAEGueJuiE\nQ2d+icb0HlXiViDIobxSegYi19XhReVDfKKwKrFsfcKCn6qBoB3kUhwYJATI\nmAqlJMRXuEMawyh7KM5+/rbmZp7es0BxxtZQAUblOLf3CjN01ePbjCJWt6Gi\nLFUImcULGsBuvwWjkpUR9VjWs+symYf9cMgvEtsNtos4b/8yDcY5b+LdpzrR\nVd3gEku7RG3Go1fAC+N7bkGeQmxCqkCCzuRJiKqNBH+nNOPY1mw2UluE5KPH\n4548EuP3Ueus8G/jK8IknqlsnC9H3NpmrDTbVGM6K0LlQIhfVLofLt4hFOZ9\nXd6aHVTQ6g2H1G741I1htBbh9Nq6ZtVZ1LWF1wZ+wJMxRX3C2XCZYCQ6rO2F\npmcgBHmxJEGeAXGjNlaB8OGItsCjORLbpzE0c+haHvjgxq4+2CcAoGx1luK5\n8cta7jjFdl3WA9cABrNSSBcjcGqgr9a4DyX2SmptCxXeywlAVd6i0d1+9T/4\nbTIaz642nK7oxPR9KdbJRqKZ/NZoWMpPK4Jv5VebALz39yyQxgaGrbm3cdFs\nD2Is\r\n=CCIo\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDM0XG64F3a6RCUHf0Ejyjyk+drpijp4nCPEEqlTaNSVQIhAIWPdnXkfDYox0PMI34t08zK0MUeBJ/KBlE2Bs1+Y4wb"}]},"maintainers":[{"name":"abtris","email":"ladislav@apiary.io"},{"name":"almad","email":"bugs@almad.net"},{"name":"apiary","email":"lukas+npm@apiary.io"},{"name":"apiary-sre","email":"sre@apiary.io"},{"name":"kubakubula","email":"kubula@apiary.io"},{"name":"netmilk","email":"adam@apiary.io"},{"name":"tu1ly","email":"tully@apiary.io"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/gavel2html_1.0.2_1563888959241_0.5968064502662"},"_hasShrinkwrap":false},"2.0.0":{"name":"gavel2html","version":"2.0.0","description":"Convert output from Gavel to HTML","main":"lib/index.js","scripts":{"build":"npm run build:coffee-script && npm run build:html-sanitizer","build:coffee-script":"coffee -b -c -o lib/ src/","build:html-sanitizer":"node -e \"var fs = require('fs'); fs.createReadStream('src/html-sanitizer.js').pipe(fs.createWriteStream('lib/html-sanitizer.js'));\"","lint":"coffeelint src","test":"npm run test:server && npm run test:browser","test:server":"mocha \"test/**/*.coffee\"","test:browser":"mochify \"test/**/*.coffee\" --transform=coffeeify --extension=.coffee","prepublish":"npm run build"},"homepage":"https://github.com/apiaryio/gavel2html","repository":{"type":"git","url":"git+https://github.com/apiaryio/gavel2html.git"},"bugs":{"url":"https://github.com/apiaryio/gavel2html/issues"},"keywords":["html","http","validation","diff","request","response","gavel"],"author":{"name":"Apiary Czech Republic, s.r.o.","email":"support@apiary.io"},"license":"MIT","devDependencies":{"chai":"^1.10.0","coffeeify":"^2.1.0","coffee-script":"^1.9.1","mocha":"^2.2.4","mochify":"3.1.1"},"dependencies":{"clone":"^1.0.2","googlediff":"^0.1.0","is-type":"~0.0.1","json-pointer":"^0.3.0","traverse":"^0.6.6"},"gitHead":"57883b1a84aae3f4529687038dd916cec1878193","_id":"gavel2html@2.0.0","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"honzajavorek","email":"mail@honzajavorek.cz"},"dist":{"integrity":"sha512-DifJvdrnsbWRebyqdYN29WUCVV0y2KqJTvOvIrv49zssKHpD3660h4ubLeSDUNtcFt24nsnlZhSxirYqurix6w==","shasum":"959808adcf8ab424978d1d520b3e7d43fc0c9e12","tarball":"https://registry.npmjs.org/gavel2html/-/gavel2html-2.0.0.tgz","fileCount":12,"unpackedSize":49793,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdOF0rCRA9TVsSAnZWagAA0o8P/24S75QKVezoYJyoGbND\nn++R796G4xe0izWFwFlP6O+OdzhI07029V9LOTkcnweVo5U6irK30PPtfBkL\nVxpiSMLXglrYaOmhORdeRE+5UdPP52tnPTKDyiTlFKYn+uGu8nfe565SlKTq\nkxkN1iijusEfCHQudJCIrRuKBtLmjB04Z6UBpzSV4JfnnlVepv/TwUEQ5Vi2\nrtQT8Mm8M2EeLphIylDf+vKPBm285bDwe01mycpZfa4EOIIBOJefp8ugEX5h\nN2Ng7i7RW/4tPOEZvfih/hUcyDcpojvFgMu16YvqlFssTZDvKH6cHR6TaSVD\nGrhQ5r0hqHIsLi5dWrdSaw5FXkGzXYrkcxXtodQgEWvAUsca7ZEu7g/+PxVy\nT8gFoWtHtkVXwwq7ZEMy/QC4gHfkoyezNfOSnTplvf7cXH5vVnkW45MQqwbe\njL1bIigD8br5HvL5PdNig3uePP8B80x8d8OYKRwbqJ/qpDvumerI+AVJ5si2\ntjgRwRB9DAIbA5Lv1MKNlO69RIkNgAizjkG4nGIQY/p0ybTqfLTO5xNyuxnU\nokP5kkLXbwsOfq0tTIE1ddFRIfZd6d4ZSboPHlsLnH4b9VEwPUkT1SpgC8Zj\n5e31saCpW4xfYz6mdGNFASBK9k/0dXaOqOJColxTVrLTSjdwBrJSsTjFs85q\nstiS\r\n=RZY8\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCAA+1Y/PoxHy8z6AIaoeNtRh/kaB4iO4ehwXoR5l/X3gIhAKR2AQGZyOOwU98wtikNCs9UMj96ATM84R05BLuOViyg"}]},"maintainers":[{"name":"abtris","email":"ladislav@apiary.io"},{"name":"almad","email":"bugs@almad.net"},{"name":"apiary","email":"lukas+npm@apiary.io"},{"name":"apiary-sre","email":"sre@apiary.io"},{"name":"kubakubula","email":"kubula@apiary.io"},{"name":"netmilk","email":"adam@apiary.io"},{"name":"tu1ly","email":"tully@apiary.io"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/gavel2html_2.0.0_1563974954413_0.47552120946872467"},"_hasShrinkwrap":false},"2.0.1":{"name":"gavel2html","version":"2.0.1","description":"Convert output from Gavel to HTML","main":"lib/index.js","scripts":{"build":"npm run build:coffee-script && npm run build:html-sanitizer","build:coffee-script":"coffee -b -c -o lib/ src/","build:html-sanitizer":"node -e \"var fs = require('fs'); fs.createReadStream('src/html-sanitizer.js').pipe(fs.createWriteStream('lib/html-sanitizer.js'));\"","lint":"coffeelint src","test":"npm run test:server && npm run test:browser","test:server":"mocha \"test/**/*.coffee\"","test:browser":"mochify \"test/**/*.coffee\" --transform=coffeeify --extension=.coffee","prepublish":"npm run build"},"homepage":"https://github.com/apiaryio/gavel2html","repository":{"type":"git","url":"git+https://github.com/apiaryio/gavel2html.git"},"bugs":{"url":"https://github.com/apiaryio/gavel2html/issues"},"keywords":["html","http","validation","diff","request","response","gavel"],"author":{"name":"Apiary Czech Republic, s.r.o.","email":"support@apiary.io"},"license":"MIT","devDependencies":{"chai":"^1.10.0","coffeeify":"^2.1.0","coffee-script":"^1.9.1","mocha":"^2.2.4","mochify":"3.1.1"},"dependencies":{"clone":"^1.0.2","googlediff":"^0.1.0","is-type":"~0.0.1","json-pointer":"^0.3.0","traverse":"^0.6.6"},"gitHead":"99897d716d44c85997399f6bb4ef8c9450cfbf26","_id":"gavel2html@2.0.1","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"honzajavorek","email":"mail@honzajavorek.cz"},"dist":{"integrity":"sha512-JFCiD9Ewcpo9DcpQmJcQXstoeAqFDmaNy7bpzO3m8Z6k2x9/dzhW+5Sls8PGmIpuz4wgB4qyVqJrzMEgU8UImw==","shasum":"51e1500d9556b3b9382e3bb6edc404c33bc8dac7","tarball":"https://registry.npmjs.org/gavel2html/-/gavel2html-2.0.1.tgz","fileCount":12,"unpackedSize":49574,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdOF1iCRA9TVsSAnZWagAAuoYP/2O6M4SxiXmN93F7XHqS\nmxXqbDHb3uqkYG8KHlqcOKYxslNhGLXKwcYn3B8gC8WqarsSvn0dR1d5/YDs\nbzYF4sC5tHRFmYTPTDQeAXhW5pzyScWecDrfRp2uTEaSzrM3EZkfptYiip+H\n1gXTpaAfQAf8/wJTceAZ47AmhhDqzLy2gtddNdX0SZo+3hdWZzzsHbA/eavW\nqTcfTXNZdX7czM36CZQ6uGkIMyU8uV7IcBkWeGPhJetT5CgiVL/YhcXxIjYh\nEhQg+FsbQAchXrSCq/I2kZKda/N/9P5jlTICabGZRg2Q/dh+spc+zwxyUq/r\nSzF4KlPsa92RZMrW69BgqK1wXWrDGeSupFMYXg5BJRy6bPDb05L693jBcN+K\nQe6Fb0+69+fDror/ZRP73nkUozO4YeeZAP358iX3d/PpxYGje03fz/OgL1GS\nEzN6k4Xtbqy67QEMhLI9QfBn5lJTNVffdNQEInF16S+Eftmmzy8H71WMPkF+\na6iZNH49d7iyIWuKLngG40ClKB+Xs9uS538GvMuGtOQqTQ/2S9PwHYLiX+NV\nJulfK0AcXXfw9RPE3mBHFh5196FLjiLJWw3C9JcmLNOMykepxtJFOaOi5g0h\nNWAvE8RSE5eHS66l2c9vg2Go6wuZhKjE3nkIj9oOz/fSR53BB1Ew0U9Fb5BZ\n0Bmn\r\n=arRZ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDv/RBzS0i0THDqx9j0WPgbh/ItFaPt3pnoGSf7JlHhgAIhALVSgDiT2j3qaFYPFuQBIdgZZqFsqNgqU8P1QQUAbUSw"}]},"maintainers":[{"name":"abtris","email":"ladislav@apiary.io"},{"name":"almad","email":"bugs@almad.net"},{"name":"apiary","email":"lukas+npm@apiary.io"},{"name":"apiary-sre","email":"sre@apiary.io"},{"name":"kubakubula","email":"kubula@apiary.io"},{"name":"netmilk","email":"adam@apiary.io"},{"name":"tu1ly","email":"tully@apiary.io"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/gavel2html_2.0.1_1563975009775_0.21789177813106209"},"_hasShrinkwrap":false},"2.0.2":{"name":"gavel2html","version":"2.0.2","description":"Convert output from Gavel to HTML","main":"lib/index.js","scripts":{"build":"npm run build:coffee-script && npm run build:html-sanitizer","build:coffee-script":"coffee -b -c -o lib/ src/","build:html-sanitizer":"node -e \"var fs = require('fs'); fs.createReadStream('src/html-sanitizer.js').pipe(fs.createWriteStream('lib/html-sanitizer.js'));\"","lint":"coffeelint src","test":"npm run test:server && npm run test:browser","test:server":"mocha \"test/**/*.coffee\"","test:browser":"mochify \"test/**/*.coffee\" --transform=coffeeify --extension=.coffee","prepublish":"npm run build"},"homepage":"https://github.com/apiaryio/gavel2html","repository":{"type":"git","url":"git+https://github.com/apiaryio/gavel2html.git"},"bugs":{"url":"https://github.com/apiaryio/gavel2html/issues"},"keywords":["html","http","validation","diff","request","response","gavel"],"author":{"name":"Apiary Czech Republic, s.r.o.","email":"support@apiary.io"},"license":"MIT","devDependencies":{"chai":"^1.10.0","coffee-script":"^1.9.1","coffeeify":"^2.1.0","mocha":"^7.1.2","mochify":"^6.6.0"},"dependencies":{"clone":"^1.0.2","googlediff":"^0.1.0","is-type":"~0.0.1","json-pointer":"^0.3.0","traverse":"^0.6.6"},"gitHead":"6e0a74b58ecc63d6c7994284abf66ad1cf70a292","_id":"gavel2html@2.0.2","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"apiary-sre","email":"sre@apiary.io"},"dist":{"integrity":"sha512-y2K1jfBfGwrWd+0u2WSVPxvMwQeUD0UR0ifG8gPa6h9Svbp7HavgLrZB8ZybAj0dM7URimQsCnatQi8GxfUQzQ==","shasum":"d7c65b09b0ae9a3a0a04ee28b49cb8ec80790ea3","tarball":"https://registry.npmjs.org/gavel2html/-/gavel2html-2.0.2.tgz","fileCount":12,"unpackedSize":50085,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf0gAdCRA9TVsSAnZWagAAApYP/AjsgJ4wZRtDzTVo4IGB\nmi7cwDk9oJECJS1aDEIXwEAT+GyYWZN/2nHYvGzSedB5VII43GF+B8QWxtYN\nxBPd7cfxGkv8DXbt8/WkywI+P0zcWdmNn/WboCMdR8uh/YNCsdiUipD4v+si\nQBUYVYZvlmzhz+kFNQtYsOdao2ley4Soo8Is5pbGAQ8sJ+HhYkTD6CVSqwJE\nyjsW7KX6JzNkDjQo27yQafC2Vt8ftZNwRtq/dpfC8bLFIw5RMvBWyM71MZ1w\nOCoyqCpZxJweVQ8/U6INUO+9uOVcbO/yXA3K1LV2JbcJFgPyKMRRSaNJcBdh\n5tOhBt0o2IbI4D3F9IY5s0iWKjm8gBzAjDQDldAtX19XSWVVZ8/GmY3FGx/W\n8OTnNzd4oP+zmkqvrj+AKu0WUHCAnC0LHxQp0lm+aDHSznYjMD8ZZqTgjIK0\nAdahsorHn7bQZFmpzY3pZOgPkxQphkNf8ZTjOjMiCUckr7RyTewpKDIQjRGg\nNEiYthdxuuHjRK1MDSSOaBSzRSM7rnm6K4S3hrKBOMEtA2ERwDA6o+fd9aQ5\nHY5vkJ4ySPdcE4suNQUitMCDi+58OiOCkMCxmcoSjfxANNUy3gs1qovColOx\nIKtxd9cWGhx2u03tbtOOly3qbRS+GnJiuLYfSeE/Ponbsv3gujI/Owv41h9F\nBq9i\r\n=VSDA\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCpzY/XCpym8S/ZHV2kkG8YIo8fx/iPIv4Ro9VaKUetbQIgJzP6POoSM6O2J4EOkjyCYM0Pkcw+GIYn/bzHfSk5OUU="}]},"directories":{},"maintainers":[{"name":"abtris","email":"ladislav@prskavec.net"},{"name":"kubakubula","email":"jakub.koral@gmail.com"},{"name":"apiary-sre","email":"sre@apiary.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/gavel2html_2.0.2_1607598108821_0.22772456568555333"},"_hasShrinkwrap":false},"2.1.0":{"name":"gavel2html","version":"2.1.0","description":"Convert output from Gavel to HTML","main":"lib/index.js","scripts":{"build":"npm run build:coffee-script && npm run build:html-sanitizer","build:coffee-script":"coffee -b -c -o lib/ src/","build:html-sanitizer":"node -e \"var fs = require('fs'); fs.createReadStream('src/html-sanitizer.js').pipe(fs.createWriteStream('lib/html-sanitizer.js'));\"","lint":"coffeelint src","test":"npm run test:server && npm run test:browser","test:server":"mocha \"test/**/*.coffee\"","test:browser":"mochify \"test/**/*.coffee\" --transform=coffeeify --extension=.coffee","prepublishOnly":"npm run build"},"homepage":"https://github.com/apiaryio/gavel2html","repository":{"type":"git","url":"git+https://github.com/apiaryio/gavel2html.git"},"bugs":{"url":"https://github.com/apiaryio/gavel2html/issues"},"keywords":["html","http","validation","diff","request","response","gavel"],"author":{"name":"Apiary Czech Republic, s.r.o.","email":"support@apiary.io"},"license":"MIT","devDependencies":{"chai":"^4.3.4","coffee-script":"^1.12.7","coffeeify":"^2.1.0","mocha":"^9.1.3","mochify":"^8.1.0"},"dependencies":{"clone":"^2.1.2","googlediff":"^0.1.0","is-type":"~0.0.1","json-pointer":"^0.6.1","traverse":"^0.6.6"},"gitHead":"1a27f539201a834105babb6ff26fe071cf060657","_id":"gavel2html@2.1.0","_nodeVersion":"10.22.0","_npmVersion":"6.14.6","dist":{"integrity":"sha512-d5ba3NM1qbpH8EGarrJsQIO5QyXYrpMI7y0pePV+FhrAbK46pURIR9p1idiCGkYHwAVmYD5NWNOU1fP11JJxWA==","shasum":"2864d541bd127d9fcac068725a44f95cfcab2507","tarball":"https://registry.npmjs.org/gavel2html/-/gavel2html-2.1.0.tgz","fileCount":11,"unpackedSize":49574,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhs29ZCRA9TVsSAnZWagAALEYQAJtNzYf+ZaD2mTSxkWoF\n7W81eBgXaiW8AIIafHTHE4XxTx7CAYH8WB36As8UeGhcnhYhL6MmCItkZKKI\nt94Ln7E02qbqKFocSsbBvhxljm8A6l9dAk2A8FlkKh31UI5/MtiYvCjv2AH4\nRyfXv3ePiduMljCNjMWYj/+ltnyTDvjEokDdJQjlvEUGt9m41ysEorFHTFbn\n3eazSPcjDBhF1wnC4mMz8Fa1QELaUWIIiaX31z99hT4gZm4fi+wuPo2CicDy\nirPxANJdyUOK4KNJtV79A+oB83edjZQNZJ2zdl/NA9sS9MKg9R02xaDP1/Uk\npfAQrcax8In+kpXQC7u4oZmAYg7Psljurvf2+D/X49etviM1zO6URCBEVwkK\nZdZcq30W+IbcEeamujz08vKIa/C+QH5uI3tdH225FzmrpuNjG+V1R8dp6EvU\nIgvUaYNczye/Vca3F0RDmp6u0WwjkMDkpqVxOynZiKm7bIutuX6Q41a3/Ezw\ny9CEn8jdE3VAGLtKLgTNdpTOqyxrFXCs7UVRxKXDY+LUKyv4tN/xCozRNAEQ\nRbvL5HPHEe/86pLnchngQv9WOwwESLF1OSA+J917cwTfv7qjzTjypTpVCN6X\nZ3vgAiDQ35s1zTiLYPLWrPJkNjw221iXayEWE7HzB5W19EOJilVICPZiOae1\nBMWx\r\n=yO+a\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDxbKYzTyuIOsKwr7f4IRmhgTw1w5AKs2jHb0LlqEMMYgIhAKDOxnAKC5qhHjdKc9D7Ifby7eGktXbsepruUNvnzaVO"}]},"_npmUser":{"name":"apiary-sre","email":"sre@apiary.io"},"directories":{},"maintainers":[{"name":"abtris","email":"ladislav@prskavec.net"},{"name":"kubakubula","email":"jakub.koral@gmail.com"},{"name":"apiary-sre","email":"sre@apiary.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/gavel2html_2.1.0_1639149401159_0.25860076130138676"},"_hasShrinkwrap":false}},"readme":"# gavel2html\n\n[![npm version](https://badge.fury.io/js/gavel2html.svg)](https://badge.fury.io/js/gavel2html)\n[![Dependency Status](https://david-dm.org/apiaryio/gavel2html.svg)](https://david-dm.org/apiaryio/gavel2html)\n[![devDependency Status](https://david-dm.org/apiaryio/gavel2html/dev-status.svg)](https://david-dm.org/apiaryio/gavel2html?type=dev)\n[![Known Vulnerabilities](https://snyk.io/test/npm/gavel2html/badge.svg)](https://snyk.io/test/npm/gavel2html)\n\nA utility library to render an HTML diff from the [Gavel.js][] validation results.\n\n## Installation\n\n```bash\nnpm install gavel2html\n```\n\n## Usage\n\n```js\nconst gavel = require('gavel');\nconst Gavel2Html = require('gavel2html');\n\n// Validate expected/actual HTTP transaction with Gavel.\nconst gavelResult = gavel(expected, actual);\n\nconst renderer = new Gavel2Html({\n  // Pass the name of the field you wish to render\n  fieldName: 'body',\n  // ...and the validation result for that field\n  fieldResult: gavelResult.fields.body,\n});\n\nconst html = renderer.getHtml({\n  wrapWith: '##data',\n  startTag: '<span>',\n  endTag: '</span>',\n  missingStartTag: '<span class=\"missing\">',\n  addedStartTag: '<span class=\"added\">',\n  changedStartTag: '<span class=\"changed\">',\n  comments: true,\n  commentStartTag: '<span class=\"comments\">',\n  commentEndTag: '</span>',\n  identString: '  '\n});\n\nconsole.log(html);\n```\n\n```\n<span>{&quot;name&quot;: &quot;hell</span><span class=\"missing\">o</span><span>&quot;}</span>\n```\n## API\n\n### `Gavel2Html(options)`\n\nCreates a renderer instance with the given options.\n\n#### Options\n\n```ts\n{\n  // Gavel validation results field name.\n  // Affects the converter being used internally.\n  fieldName: 'statusCode' | 'headers' | 'body'\n\n  // Gavel validation results for the given `fieldName`.\n  // Refer to the Gavel's documentation for more details.\n  fieldResults: GavelFieldValidationResults\n\n  // Use JSON pointers from the Gavel validation results\n  // passed in the `fieldResults` option.\n  usePointers?: boolean\n}\n```\n\n### `getHtml(options): string`\n\nReturns an HTML string representing the markup of the validation results data diff.\n\n#### Options\n\n```ts\n{\n  // String to wrap the outpout data with.\n  // The \"##data\" acts as a placeholder that gets\n  // substituted with the output results.\n  // Example: <div>##data</div>.\n  wrapWith?: string = '##data'\n  startTag?: string = '<li>'\n  endTag?: string = '</li>'\n  jsonKeyStartTag?: string = ''\n  jsonKeyEndTag?: string = ''\n\n  // String to use at the beginning of\n  // a missing sequence of characters.\n  missingStartTag?: string\n\n  // String to use at the beginning of\n  // an added sequence of characters.\n  addedStartTag?: string\n\n  // String to use as a start when marking\n  // a changed sequence of characters.\n  changedStartTag?: string\n\n  // Include comments in the output.\n  comments?: boolean\n  commentStartTag?: string\n  commentEndTag?: string\n\n  // String to use as a one level of indentation.\n  identString?: string = '  '\n}\n```\n\n[Gavel.js]: https://github.com/apiaryio/gavel.js\n","maintainers":[{"name":"abtris","email":"ladislav@prskavec.net"},{"name":"kubakubula","email":"jakub.koral@gmail.com"},{"name":"apiary-sre","email":"sre@apiary.io"}],"time":{"modified":"2022-06-18T05:03:12.801Z","created":"2014-12-16T16:22:36.247Z","0.0.1":"2014-12-16T16:22:36.247Z","0.1.0":"2015-02-10T11:05:30.608Z","0.2.0-unstable.1":"2015-04-10T00:51:11.490Z","1.0.0":"2017-04-24T12:11:29.325Z","1.0.1":"2017-05-11T14:46:35.462Z","1.0.2":"2019-07-23T13:35:59.398Z","2.0.0":"2019-07-24T13:29:14.549Z","2.0.1":"2019-07-24T13:30:09.914Z","2.0.2":"2020-12-10T11:01:48.930Z","2.1.0":"2021-12-10T15:16:41.326Z"},"homepage":"https://github.com/apiaryio/gavel2html","keywords":["html","http","validation","diff","request","response","gavel"],"repository":{"type":"git","url":"git+https://github.com/apiaryio/gavel2html.git"},"author":{"name":"Apiary Czech Republic, s.r.o.","email":"support@apiary.io"},"bugs":{"url":"https://github.com/apiaryio/gavel2html/issues"},"license":"MIT","readmeFilename":"README.md"}