{"_id":"node-schematron","_rev":"12-f23a71ad4c8f68877f328591527dd948","name":"node-schematron","dist-tags":{"latest":"2.1.0"},"versions":{"0.0.1":{"name":"node-schematron","version":"0.0.1","keywords":["schematron","xml","validation","terminal"],"author":{"url":"https://github.com/wvbe","name":"Wybe Minnebo","email":"wybe@x-54.com"},"license":"MIT","_id":"node-schematron@0.0.1","maintainers":[{"name":"wvbe","email":"wybe@x-54.com"}],"homepage":"https://github.com/wvbe/node-schematron","bugs":{"url":"https://github.com/wvbe/node-schematron/issues"},"bin":{"schematron":"./bin/schematron.js"},"dist":{"shasum":"e4e0f544ccc5eee62e779f0f5f8d3ff5a49b68ba","tarball":"https://registry.npmjs.org/node-schematron/-/node-schematron-0.0.1.tgz","fileCount":7,"integrity":"sha512-n4yG3T8cmoL1k8kPyIDS1ab/tawkJIH3jA09q5TXzGjykHPc/dKkO4xYiIrvMAJ1sAf7XiRjhsi0yK61v08ADA==","signatures":[{"sig":"MEQCIFT+A5S1qm2FknnRndZUMa1yUqe89mChawnW3y/WhOU8AiAY8sLI6bu6SZWxJNUT/5uRtQQdAgmpIWEAJOENXWRtFg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":14758,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdhLfuCRA9TVsSAnZWagAAqGcP/1Ck9xCnQh4HdXUO1jV3\nyrbSUXAP9KJkR2OJMF/l3lLPYT2Cgo2jPLqHAZr46tlm0mmXIpBz6IN0x2zW\nAkgSI3S3HgX+TUXicZ5dFEPxRYp0G1dOfBHsSF8EeXv2LoAelofbZozvUB7H\n36cPvbCvkoDdTZX5J8hrl20M4q3RQNaoX9PQCP2V6ad6pxYee0+fnBED+vY9\nPqojlXauAm9rso9UM/6J/DUu30Ldydb1gBXSwYji3o+XyKfGHFQeAzOjnrr2\nEQQWIwtM/B9wvX0AWcYEFmwZVkOa80N8iRqsseY4zfqXT6hmup88KXRcc8Ud\nqg20PsA124KW8xXWr9+RQTbg+VoEvRRzEMcwwrA28wS3LitKpsjFf8x5mbp2\nfn5sDyFJw2GNRGeiWblqTM73JAjxEtGzleumnYn3jK7J+lVXcX/WD5ecynqm\njOX62wdF8mKHNvNbRyxlLygHp5ZYEjDTWgyQqpkeR2IL6VLn1jF/D+uH1AfJ\nclA13M5gzedNAN5otC8ORu7NplH1MpT9GMcrnD1Z83ykzSYmEnlFsaXEOEY5\nYbXrC+uLu5AI5zpmeGQyQYNKXcCncEfGogtO5LYI/EdZAQw3OwO9MjApHAsk\nyNfC6pS14rWOlSbWJ41IXxxM3KXe7Ed3wzSIy9OoaZDLwq0NKKxzXaAcGCLo\nZuVA\r\n=w96U\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"8b2c627068f4dd7e3ee8e7c839d416facc483edb","scripts":{"demo":"node ./bin/schematron.js \"test/xml/random-dita.schematron.xml\" \"test/xml/random-dita/*.dita\""},"_npmUser":{"name":"wvbe","email":"wybe@x-54.com"},"repository":{"url":"git+https://github.com/wvbe/node-schematron.git","type":"git"},"_npmVersion":"6.11.3","description":"A pure-JS Schematron implementation for Node, browsers and CLI","directories":{"lib":"./src","test":"./test"},"_nodeVersion":"10.16.0","dependencies":{"globby":"^6.1.0","ask-nicely":"^3.0.2","fontoxpath":"^3.6.0","slimdom-sax-parser":"^1.2.1"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/node-schematron_0.0.1_1568978925661_0.7876983675579474","host":"s3://npm-registry-packages"}},"0.0.2":{"name":"node-schematron","version":"0.0.2","keywords":["schematron","xml","validation","terminal"],"author":{"url":"https://github.com/wvbe","name":"Wybe Minnebo","email":"wybe@x-54.com"},"license":"MIT","_id":"node-schematron@0.0.2","maintainers":[{"name":"wvbe","email":"wybe@x-54.com"}],"homepage":"https://github.com/wvbe/node-schematron","bugs":{"url":"https://github.com/wvbe/node-schematron/issues"},"bin":{"node-schematron":"./bin/schematron.js"},"dist":{"shasum":"f0639e43048aba6e80bbec2bf72eeeb16e716c81","tarball":"https://registry.npmjs.org/node-schematron/-/node-schematron-0.0.2.tgz","fileCount":7,"integrity":"sha512-Luebh8AY92DSy8yaroFVM73BKSZpCaBSJU1Gr09aQCzuTgmnuEXb2sYLgi2J73TFSdnx2H/ASW99IVufA9YEKQ==","signatures":[{"sig":"MEUCIQCn/lErmC+IcoyLQfaYRvPez7JJ1uvvmM6hjvo0fTv9ogIgE/CjKDb6rh2hNVryOdw73oNbFf6ZXn6ey0/wXrPOxgQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":14660,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdhOaQCRA9TVsSAnZWagAAHUsP/28SJLlZooCn0aaA0/BL\n23wxy81kz/nFvO0EpxCPijA9HRmZ29XWSG/FIH4W20YQKjAjdsFTpfKSIrto\nY3xPhYP/ytgJ19MtOrBDtrLDXSHkLPTt7rkL7STmo8lA1yTcy49MjCY0eZ2W\nGToLR2njOVCy9znyNykT4jX9J5RZ+c9/LF/LCODEF6GZQeepoEKuykBirVc5\nDoSxSyPpxPEebApTTYP1ZzXhFHRx5iSd6EOeel0FZhEuBVWQyhJrQh4Za3/9\nvyXBUhb9xSPq/QPxdB7OP71400swfrp7tG+jLh8LBjnS9gTbHLi70ziSGtq8\nluikexo9okG9qu9fyzvEzsgKxKCcG7dhDH8KrtMKpQxztTSRnFnPl8z3PGJR\nPPLytQQFMvv8YtxvD12AK0+zmzlDj4ZxCMBfJcd+GaKFJojFAYbxAu73Dzn0\nLxuoJdp7n50MmUwgRW/xC4/7upOA1uDLWFsuQOLPyOVheDTNrEIRrC7ZpWxH\nkslt4kA/XrysCsJnrVOiSZppgPnimIHrRwLkAC9CN1rMSeAGS1paqlVS2JAJ\nE02K9cN2FqEdGXuvslgGmxlF0gJr3RTOoXRRXhZqby4E4YTPlh1jzVxBZJBE\nUMcYdi2FzlyiH8h0PVayxBI0MbNi/U6iBpiZyLr25kpXtrem0wrCwkvqRDCL\nZTKw\r\n=S/Xr\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"ce073596a0e83436039f71e74db78e82128ab1c9","scripts":{"demo":"node ./bin/schematron.js \"test/xml/random-dita.schematron.xml\" \"test/xml/random-dita/*.dita\""},"_npmUser":{"name":"wvbe","email":"wybe@x-54.com"},"repository":{"url":"git+https://github.com/wvbe/node-schematron.git","type":"git"},"_npmVersion":"6.11.3","description":"A pure-JS Schematron implementation for Node, browsers and CLI","directories":{"lib":"./src","test":"./test"},"_nodeVersion":"10.16.0","dependencies":{"globby":"^6.1.0","ask-nicely":"^3.0.2","fontoxpath":"^3.6.0","slimdom-sax-parser":"^1.2.1"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/node-schematron_0.0.2_1568990863907_0.5594091388269011","host":"s3://npm-registry-packages"}},"0.0.3":{"name":"node-schematron","version":"0.0.3","keywords":["schematron","xml","validation","terminal"],"author":{"url":"https://github.com/wvbe","name":"Wybe Minnebo","email":"wybe@x-54.com"},"license":"MIT","_id":"node-schematron@0.0.3","maintainers":[{"name":"wvbe","email":"wybe@x-54.com"}],"homepage":"https://github.com/wvbe/node-schematron","bugs":{"url":"https://github.com/wvbe/node-schematron/issues"},"bin":{"node-schematron":"./bin/schematron.js"},"dist":{"shasum":"642dc1d8d8c212fc795aa3e492c722fce90c6793","tarball":"https://registry.npmjs.org/node-schematron/-/node-schematron-0.0.3.tgz","fileCount":20,"integrity":"sha512-8yVbJgbzb9O6GDZp2xAiqDIhIN7AO3XXtZWSIeZZZcm+g9Nzwu+cgvw/Y2pSX+NwhdEIf5n0CAbAkxoPfyML5g==","signatures":[{"sig":"MEUCIDAiZeFkkgY480BFcR+Q3C7Nm4xh0xaZBZJqb9kOfaclAiEAxbNx0ybqdt4IqFA4fLd5oNBp5I9eJ48jybGvMHbWYUc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":27241,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdijTwCRA9TVsSAnZWagAA5E8P/2WvBpfNa7VJ1ZywJWJP\nyK4g1zO1B/IS75yDCJS7adlnKJrn51UioTycvZcaWMqX0MfN3AC6ZXLlxAGm\nbYHYwuu6DRac2QogOeCbUrpd6n/LpTOOTL2wrAcNp9if7jz9d/vv8xmpiwJS\nFzzApR40eBUDgFLJHRmK4JoqqdBrDccqxHVA6WvoQ3wd9jWAvHhymlS9rd6y\nCI8T085rs7TiFiKXPs1qmn8TaRGhJEAMVF3fBK3/PGOaWQKSA2B6EEjAOkdI\nfW/RhNctfkoHj9HQSwYQRW8bEUuB4a/ZP3++qsWjaQo2cX0zMYr+yQhcjfSV\nubpbLENxpCRKuTVlnGdc/+3WRyLyqvmD48d/AKNnc/5QNgDpA9U3J6LdQhNS\noCDCYMFe0izNyO6tzlsTy+c+yfaNuvCxqcTEc3BAwqs6DEohXzVAfPlPT5yb\nIqXIAEfAiCbTk2GceuVzMoQ2ILi1dubmqXaGXIDWah+Gs65oN66DnHbF5S/h\nuaJQGehGs5c4akbyntjZ1GNY/RvmhSAzIuNWFmXewirfViPPrEwd76MYqARY\nU5U4odkzS+WlDLclDOZgfHLPynA634rUY6xHt/HezapcVhMASaoC0VaALt2q\n7xxDfA3dWZg7ndvBaA6eOYsPn/JTmFH7Lz3g78kowuxkGylAFef6jeupvNn7\nyozF\r\n=ZcS9\r\n-----END PGP SIGNATURE-----\r\n"},"gitHead":"bca89b9b7ed8d9a2dc579fc2de5defae8052766c","scripts":{"demo":"node ./bin/schematron.js \"test/xml/jungle.schematron.xml\" \"test/xml/jungle.document.xml\"","test":"jest","ts:run":"ts-node index.ts","ts:build":"tsc","prepublish":"jest && npm run ts:build"},"_npmUser":{"name":"wvbe","email":"wybe@x-54.com"},"repository":{"url":"git+https://github.com/wvbe/node-schematron.git","type":"git"},"_npmVersion":"6.11.3","description":"A pure-JS Schematron implementation for Node, browsers and CLI","directories":{"lib":"./src","test":"./test"},"_nodeVersion":"10.16.0","dependencies":{"globby":"^6.1.0","ask-nicely":"^3.0.2","fontoxpath":"^3.6.0","slimdom-sax-parser":"^1.2.1"},"_hasShrinkwrap":false,"devDependencies":{"tsc":"^1.20150623.0","jest":"^24.9.0","ts-node":"^8.4.1","babel-jest":"^24.9.0","typescript":"^3.6.3","@babel/core":"^7.6.0","@types/jest":"^24.0.18","@types/node":"^12.7.5","@babel/preset-env":"^7.6.0","@babel/preset-typescript":"^7.6.0","@babel/plugin-proposal-class-properties":"^7.5.5","@babel/plugin-proposal-object-rest-spread":"^7.5.5"},"_npmOperationalInternal":{"tmp":"tmp/node-schematron_0.0.3_1569338607944_0.6856506862708369","host":"s3://npm-registry-packages"}},"1.0.0":{"name":"node-schematron","version":"1.0.0","keywords":["schematron","xml","validation","terminal"],"author":{"url":"https://github.com/wvbe","name":"Wybe Minnebo","email":"wybe@x-54.com"},"license":"MIT","_id":"node-schematron@1.0.0","maintainers":[{"name":"wvbe","email":"wybe@x-54.com"}],"homepage":"https://github.com/wvbe/node-schematron","bugs":{"url":"https://github.com/wvbe/node-schematron/issues"},"bin":{"node-schematron":"./bin/schematron.js"},"dist":{"shasum":"5215b15da09330943639609c61deb66df74246cd","tarball":"https://registry.npmjs.org/node-schematron/-/node-schematron-1.0.0.tgz","fileCount":20,"integrity":"sha512-HOXB5PLLpI6DD/ffHBmz+/yC0PbJE6LP44OMT+bBWCF3dinJmzTUE9BgYPnHzlL7w6HFOPYzOaUCvLQEbCe1VQ==","signatures":[{"sig":"MEUCIQDig0FwqjKXJgOk61oXNtYVCRVtd/7p/axHUe+t89XzFAIgc4Mhn53LOkCFs13kvHL7xQrO7VZYknxL+QMekGv+Ziw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":30074,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdwDBjCRA9TVsSAnZWagAA/20QAIRk6WjCv+jbC5Uj3dz/\njDNNS5yk6hHQmxiUZEGMuBeptgxmxkwzFLmXw7hhVvXE5UNVnsGz86Oi9dgw\n0PB2j3qTbRKqKh19E4SFLbUuOtOu7lK4W4tdKU5S68CY5PvnVzXOkwkdrvof\nYroiGsuKWGZs9Q8yYCGxalAcZGiFWafMBVnoexfDKlPjVCV1tvqUPGFZ0yv4\noi3bZXTPqFKT8si6V3sqOzOwXFgBgDA/dw5Da3e5BgGzQCDXymNT0d12LxZW\nNCBDPX0Z0tmjAPTdvZTHVgyKUbKFbwPYrfWvOlCowCfKNlSbbiB6tLV3gA9X\nQfo1FXHT+7RSO5+wwBhZhmAYhLF/YqC5GaQBA3TMQec8YLkuyHF876aRvenO\nQklTZ+BBAcWkO3zUNO1KSxoUTmednMjiydmRTVVh7Qg8cJUMQrvVRru9rtZe\ndow+FuFDC6lEt7akN6BfQTv/WoXdtYoeVPmsZT7e6tyiS7Rme5AOq+L6h00R\nKuvKS2QwfUji7NL9RSLBL2FAN4sS7S8+qNviaNqynXQYpsiJFSPbF2HzV8gc\ncMfo5Gtf4lYlbvCj5HbTPMqahUKn/u2JlJgsHDcdHFy8ZN3U/VmBjuRTVHH+\nsYmaiwPjVz2ufiZjQKaGlDfz6PexhgeSDh5SYujUJZaHbmnwDg6Qtuiv1kTw\nniWO\r\n=7TkU\r\n-----END PGP SIGNATURE-----\r\n"},"gitHead":"be220e318499b9273c901cc492dde57e8e9cf5ae","scripts":{"demo":"node ./bin/schematron.js \"test/xml/jungle.schematron.xml\" \"test/xml/jungle.document.xml\"","test":"jest","ts:run":"ts-node index.ts","ts:build":"tsc","prepublish":"jest && npm run ts:build"},"_npmUser":{"name":"wvbe","email":"wybe@x-54.com"},"repository":{"url":"git+https://github.com/wvbe/node-schematron.git","type":"git"},"_npmVersion":"6.12.1","description":"A pure-JS Schematron implementation for Node, browsers and CLI","directories":{"lib":"./src","test":"./test"},"_nodeVersion":"10.16.0","dependencies":{"globby":"^6.1.0","ask-nicely":"^3.0.2","fontoxpath":"^3.6.0","slimdom-sax-parser":"^1.2.1"},"_hasShrinkwrap":false,"devDependencies":{"tsc":"^1.20150623.0","jest":"^24.9.0","ts-node":"^8.4.1","babel-jest":"^24.9.0","typescript":"^3.6.3","@babel/core":"^7.6.0","@types/jest":"^24.0.18","@types/node":"^12.7.5","@babel/preset-env":"^7.6.0","@babel/preset-typescript":"^7.6.0","@babel/plugin-proposal-class-properties":"^7.5.5","@babel/plugin-proposal-object-rest-spread":"^7.5.5"},"_npmOperationalInternal":{"tmp":"tmp/node-schematron_1.0.0_1572876387427_0.10345077809061776","host":"s3://npm-registry-packages"}},"1.1.0":{"name":"node-schematron","version":"1.1.0","keywords":["schematron","xml","validation","terminal"],"author":{"url":"https://github.com/wvbe","name":"Wybe Minnebo","email":"wybe@x-54.com"},"license":"MIT","_id":"node-schematron@1.1.0","maintainers":[{"name":"wvbe","email":"wybe@x-54.com"}],"homepage":"https://github.com/wvbe/node-schematron","bugs":{"url":"https://github.com/wvbe/node-schematron/issues"},"bin":{"node-schematron":"./bin/schematron.js"},"dist":{"shasum":"8d1c510283b8527a96219ee89e5e2d61e5e911ed","tarball":"https://registry.npmjs.org/node-schematron/-/node-schematron-1.1.0.tgz","fileCount":26,"integrity":"sha512-8jVyL9Sn+guenKK9Z0CEFx4GIxLfwWPqcfipmdltepB3aeyoF9MYcNwetP/0k5LYbZa1JNYElVOfFO2IQWRvRw==","signatures":[{"sig":"MEQCIHh9ttwcs+ov+rbdaUHzkOIc1QHvDsvJoaqXHPHPVar3AiBPgt+B1geNdW0zfS7B+YMPXAEyc7HtwYrF0vWE+JvImg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":52291,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd3So+CRA9TVsSAnZWagAABUQP+gM89YIDJSAybHOUW087\nUuYxNn6HznfUuEUdYaCnKSgDUWGhwjDxXaJ7y4rwS45uSIUwy20SqXOc8UKp\nktmTpKIN6N5ErvvZNlf7qWlkho0Y/8FEZmlFz3+v86eL+o1P7afLBfeRpxIC\nW/T4mWzaP1vz98+p6HQ8rnVJjqvSnmFr5R1GLoiXQHjpEVwUU1lXjPMmDGgQ\nnFbyWAodos+/efbcB1L4S8LuhBU7X/YEr1q6kNmm1vk+wV4ANgFCDYjkhOal\npAkvOPF5DzGyDkEWF+jmVbpAYJ7JjcnwltQxgdB2gH1CUPC0c67PiPQB6Ao/\nlLt6c/J1CcXm3QPkWUMzrUejPiaqwZf35+P83K2M4clZfZM9WNKzdNFgqR8a\n4SPUn00H13nxe0+Evt1QMJCC0jc5KFMDxFGB24pe7XZSOWRgKpMQnXmf9yxF\n/UJ2tqv434E5Z9Kt+vfeN9Ig7FN3bjwFrZqgRgyG8cQrGLsJsaBekdZQrnLL\nz1x8icMNdZYPRpP+d6we+5fEXQwCBZMLfbXO9pa9KWxGBiFdaXML3/5n5pRw\nCzcdloGcPmFFsEnVNe+Ks6HOmnb48hfUM96lTTmZyD/7z2x1X10PQeb+ikhN\nOeKwyVX4itkT7uAX9gSObyRE+uKgkvA8eck4cTk0oIu6K7L4H58fi2JP0SzG\nrx30\r\n=6yeJ\r\n-----END PGP SIGNATURE-----\r\n"},"gitHead":"f5a2a1d3d778b50b5939a961a862fd945f903191","scripts":{"demo":"node ./bin/schematron.js \"test/xml/simple-schematron.xml\" \"test/xml/simple-document.xml\"","test":"jest","ts:run":"ts-node index.ts","ts:build":"tsc","prepublish":"jest && npm run ts:build"},"_npmUser":{"name":"wvbe","email":"wybe@x-54.com"},"repository":{"url":"git+https://github.com/wvbe/node-schematron.git","type":"git"},"_npmVersion":"6.12.1","description":"A pure-JS Schematron implementation for Node, browsers and CLI","directories":{"lib":"./src","test":"./test"},"_nodeVersion":"10.16.0","dependencies":{"globby":"^6.1.0","npmlog":"^4.1.2","ask-nicely":"^3.0.2","fontoxpath":"^3.6.0","slimdom-sax-parser":"^1.2.1"},"_hasShrinkwrap":false,"devDependencies":{"tsc":"^1.20150623.0","jest":"^24.9.0","ts-node":"^8.4.1","babel-jest":"^24.9.0","typescript":"^3.6.3","@babel/core":"^7.6.0","@types/jest":"^24.0.18","@types/node":"^12.7.5","@babel/preset-env":"^7.6.0","@babel/preset-typescript":"^7.6.0","@babel/plugin-proposal-class-properties":"^7.5.5","@babel/plugin-proposal-object-rest-spread":"^7.5.5"},"_npmOperationalInternal":{"tmp":"tmp/node-schematron_1.1.0_1574775357858_0.5845985559033309","host":"s3://npm-registry-packages"}},"1.1.1":{"name":"node-schematron","version":"1.1.1","keywords":["schematron","xml","validation","terminal"],"author":{"url":"https://github.com/wvbe","name":"Wybe Minnebo","email":"wybe@x-54.com"},"license":"MIT","_id":"node-schematron@1.1.1","maintainers":[{"name":"wvbe","email":"wybe@x-54.com"}],"homepage":"https://github.com/wvbe/node-schematron","bugs":{"url":"https://github.com/wvbe/node-schematron/issues"},"bin":{"node-schematron":"bin/schematron.js"},"dist":{"shasum":"0bf0aa962ec8e77e03346bab3959a794b0bdb9c1","tarball":"https://registry.npmjs.org/node-schematron/-/node-schematron-1.1.1.tgz","fileCount":26,"integrity":"sha512-x64PY7wbAFp2Emjm7OsPsUpFL1pP50n8wyM/tLVCXpyAD5M3YTAzVMgOrYf8Lb0UuHocnGwzCXbvj9pSpRym6A==","signatures":[{"sig":"MEUCIClBMUSlP8laUks1EZGENUks+NUgwnd6m2wbYBQ3Rv+mAiEAzXqzO53OW4hc8vr4jqC1N3CXtMF0g/+UEl1a/yxi5ug=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":52976,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeLsZTCRA9TVsSAnZWagAA2boQAJa1tiBKBEPnPThNL85G\nlJPgdwVjwW7/+1vdaK3h9xY4s8iLxc3uujACCwUDfKF5Oy+E6GqtLCI6b4bj\nOEb19qzB/og0yMrG4jC5V5C7b9yk4B+UQno4Iv0NV8RagLny4iVKaaleCIjG\nJKlgG6o/ZigA0AA1ad2J++5iZAEMtqzF3LLPUMds13n1eAJpRq/fzFsKHnml\nvlSr7Ox7y4JP9eVJWzYlAFN6adr10pOhc1t42DvTUpVaPPt3XdOFas557OS5\n0i7eXBKgTGWgXSckzT2maRt0EgSSrSBSUAyXWWJ9vsqV5LYCbA17upJLTLMw\nKORO2At4TxXOSZOOf7iHHifjUDfi18760gzt2fp8YoqpYbNlHU9WXH4RnkSy\nJeJH0pJC63rzJeQipY+wkVAE5IPOowvz4lRTpLCRcCCEyNE0BUkI/B90oxBs\nT0N7Ca9qbX3ta6b17j69VexiGHQf7kCPp7FNBIAZ5DM97h/fYyUiYwZSh3H0\ncFSc6Ckkw619ntjRqhrKgm9+daNVMhYUDnzdeIHOXgeugJubx6uiBVMyhIzb\nRHBdHJFEh8GQQ0Zm43Mc/YhCB1CSbY4TF0qUg4BOqO0nlDAk6eKgIQwdDqqC\n+98wpee33RIoPmnzCZeQuTrW6X5EUKkr9YrvIfHIT5Et83WNPoRjuZocpIyC\ngLm4\r\n=Byym\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","gitHead":"985d1f6c2d766499e5b9074a8c1a85c5af234d24","scripts":{"demo":"node ./bin/schematron.js \"test/xml/simple-schematron.xml\" \"test/xml/simple-document.xml\"","test":"jest","ts:run":"ts-node index.ts","ts:build":"tsc","prepublish":"jest && npm run ts:build"},"_npmUser":{"name":"wvbe","email":"wybe@x-54.com"},"repository":{"url":"git+https://github.com/wvbe/node-schematron.git","type":"git"},"_npmVersion":"6.13.6","description":"A pure-JS Schematron implementation for Node, browsers and CLI","directories":{"lib":"./src","test":"./test"},"_nodeVersion":"10.16.0","dependencies":{"globby":"^6.1.0","npmlog":"^4.1.2","ask-nicely":"^3.0.2","fontoxpath":"^3.6.0","slimdom-sax-parser":"^1.2.1"},"_hasShrinkwrap":false,"devDependencies":{"tsc":"^1.20150623.0","jest":"^24.9.0","ts-node":"^8.4.1","babel-jest":"^24.9.0","typescript":"^3.6.3","@babel/core":"^7.6.0","@types/jest":"^24.0.18","@types/node":"^12.7.5","@babel/preset-env":"^7.6.0","@babel/preset-typescript":"^7.6.0","@babel/plugin-proposal-class-properties":"^7.5.5","@babel/plugin-proposal-object-rest-spread":"^7.5.5"},"_npmOperationalInternal":{"tmp":"tmp/node-schematron_1.1.1_1580123730077_0.34661630830973134","host":"s3://npm-registry-packages"}},"2.0.0":{"name":"node-schematron","version":"2.0.0","keywords":["schematron","xml","validation","terminal"],"author":{"url":"https://github.com/wvbe","name":"Wybe Minnebo","email":"wybe@x-54.com"},"license":"MIT","_id":"node-schematron@2.0.0","maintainers":[{"name":"wvbe","email":"wybe@x-54.com"}],"homepage":"https://github.com/wvbe/node-schematron","bugs":{"url":"https://github.com/wvbe/node-schematron/issues"},"bin":{"node-schematron":"bin/schematron.js"},"dist":{"shasum":"775955093df214b2312d185adb679a049ebe6fd2","tarball":"https://registry.npmjs.org/node-schematron/-/node-schematron-2.0.0.tgz","fileCount":23,"integrity":"sha512-F5JQHaDqhMWTeuo5A7Cf2O2ODyquM/e233inlpN1T7GuhIezKOX+xNDLerP1pNldml4kO8Quvdm1QrSfTcNg3A==","signatures":[{"sig":"MEYCIQCMSw9Wr3RnXUA1Cq3oJOgqSkYPwU3pGYctRNP+cSl++QIhAJHCtbyXHgQifArFUwUYGL90aN9JCNsmOzEeDOETaOSp","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":132654,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfsUXECRA9TVsSAnZWagAAPxEP/3o3BTm7yVSylvYhQAd2\n9ZuZbHIvXhaEmo3odC3LitryNcWmJHD00njW6DEfE499xUTF1eR8SGlgKkc8\ncotyFSIRMT9cdaJKUZ0I1K6xRunlKCxV+r48vH4O1Bp3yA3UZOr0kcUmgK3x\n+Pl3hyAzOvmhlhRRrd+R+UPxFu/AFayx9cxYsqjTcv4EX3AhFuFvAitA5IAg\nS4jo4PPjkjK9uFf11lEQ7RiFGgO+fCpytA0B+yUzNzAt33KjG0+qOziPu9DY\ndWlenlqhAv8m7Xfdwll07zWpqBLjsSNkFynAAJlwF9KuUb4HlKJ7KjkQpZmb\nNtoPCfz1ST077HujsezrkWXeOnNOw0/c/vunGT0AMiYZCinaJ7LB51JoSHDp\nTleeY8fpBqCfaUbGhqE0M1gPG1JpTZg7teh67XClm3Z1h+kiih8Cd5DYtHqY\nXXl7aSYF+VRW/526kKq3hDp3o3M8So3Ajp7JUf6rbjMsNt550iJN8kZrejwa\ntHvBuZrRFpiAP4QMzL89pzV27DK/OIwDVhvBh+HDxToIhI3S9ojjSbFBtAL0\nkjHOcn+vuqLU1vQSiBMJF6AiNwHe5zFhmA77VHpct/wNYpEx2T1cUTn7Roq6\nLh+dB5qyzADohioLT0MZaRyZqJWlj8EA05tzel16ThzUIKS9tOxG6zUG5CMH\nMCmY\r\n=7FFd\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","module":"dist/node-schematron.esm.js","gitHead":"4955b3f3a5ef4c51ba0c6e1e629e092147c102fd","scripts":{"demo":"node ./bin/schematron.js \"test/xml/simple-schematron.xml\" \"test/xml/simple-document.xml\"","lint":"tsdx lint","test":"tsdx test","build":"tsdx build","start":"tsdx watch","prepare":"tsdx build"},"typings":"dist/index.d.ts","_npmUser":{"name":"wvbe","email":"wybe@x-54.com"},"prettier":{"semi":true,"useTabs":true,"tabWidth":4,"printWidth":100,"singleQuote":true,"trailingComma":"none"},"repository":{"url":"git+https://github.com/wvbe/node-schematron.git","type":"git"},"_npmVersion":"6.14.8","description":"A pure-JS Schematron implementation for Node, browsers and CLI","directories":{},"_nodeVersion":"14.8.0","dependencies":{"globby":"^11.0.1","npmlog":"^4.1.2","ask-nicely":"^4.0.4","fontoxpath":"^3.14.0","slimdom-sax-parser":"^1.4.0"},"_hasShrinkwrap":false,"devDependencies":{"tsdx":"^0.14.1","tslib":"^2.0.3","typescript":"^4.0.5"},"peerDependencies":{},"_npmOperationalInternal":{"tmp":"tmp/node-schematron_2.0.0_1605453251435_0.5262771421746213","host":"s3://npm-registry-packages"}},"2.0.1":{"name":"node-schematron","version":"2.0.1","keywords":["schematron","xml","validation","terminal"],"author":{"url":"https://github.com/wvbe","name":"Wybe Minnebo","email":"wybe@x-54.com"},"license":"MIT","_id":"node-schematron@2.0.1","maintainers":[{"name":"wvbe","email":"wybe@x-54.com"}],"homepage":"https://github.com/wvbe/node-schematron","bugs":{"url":"https://github.com/wvbe/node-schematron/issues"},"bin":{"node-schematron":"bin/schematron.js"},"dist":{"shasum":"4e39ef1a5cd373bdf5f8449cf378205d2a9545fe","tarball":"https://registry.npmjs.org/node-schematron/-/node-schematron-2.0.1.tgz","fileCount":23,"integrity":"sha512-gP4eRYLA1uGIB8ZtYbXolIq5qaeGwzwrn9RbQUeDOjtDLQUaM3EwW13yFzY6sa9RFJX6krhlOBOMCZ82po/iyA==","signatures":[{"sig":"MEQCIFiKtTiz0IjpnZttEFpcUMJJ1O3U7ahE56sHscgpiGQxAiADqOLG3oHTGl/pesO/kMSYHgrJ8BHqu2fKf+lURBvPGw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":132634,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgHrUlCRA9TVsSAnZWagAAehAQAIVa26H5Gm0R1KMAf411\nounDfZ1j6iNYaHUW5n49NEgq0ZUnD56570hyvtNW9fFQgHbE7G8+cB1aikfz\n1L1Bc19I5Gb8tlaNA0uvjk2K6TFVV4pyzl0zy9naUgNOAH2fc7sebX1UfIFc\n2URBjfUwocy5ilLyHPpWDyiI62FDaKQcMZCLjz9oSsV9dTyoppxGCl5O4E9J\nYDrSUgBAjsUc/FfhIaceljjSDekNDREOUfZQFdznsOR7Z89KT2ZH5sy4AeN/\nKR9JAJ4ZvJJqze6y1TWTl8VvnwjzPFihn5HvFOybM994UyH57usvEVqXo8co\nqxPhRM6TDA2QuTrhU44aafuMHI3GCecRpQT03xX+M7JLkyf/dhu2ZIBpM78+\ngoJnqPEQhmQ5TeXlGzfKaHWrxUcb7NAR72FtzqSymlWV/TgDf5pW+q8nYQsB\ns5muYZWUTZwjAoRWdU2KBSAvdr71d4qWyMxqsea6sy0Tmm7CGz1j+3sqJj7B\nRHmuxJ3RPRjs06ojv1r4g4B7K75OBIg1CgqqlL50J7UYdigNZliD2uF1aKuO\nk21BfyO194kapbhoKu8TX991RzUCjhzeUqHdifLHD1P/nExytqC8lRzhMBNV\n4x5bWTAAgIsugEKflrPkgcR+zD9hxmHoi6ArLsVHZzqHvEmebC7V5voHVvUc\n/o02\r\n=iqUD\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","module":"dist/node-schematron.esm.js","gitHead":"06c1f507d9517f765934eaf4eda9fd60c3513661","scripts":{"demo":"node ./bin/schematron.js \"test/xml/simple-schematron.xml\" \"test/xml/simple-document.xml\"","lint":"tsdx lint","test":"tsdx test","build":"tsdx build","start":"tsdx watch","prepare":"tsdx build"},"typings":"dist/index.d.ts","_npmUser":{"name":"wvbe","email":"wybe@x-54.com"},"prettier":{"semi":true,"useTabs":true,"tabWidth":4,"printWidth":100,"singleQuote":true,"trailingComma":"none"},"repository":{"url":"git+https://github.com/wvbe/node-schematron.git","type":"git"},"_npmVersion":"6.14.8","description":"A pure-JS Schematron implementation for Node, browsers and CLI","directories":{},"_nodeVersion":"14.8.0","dependencies":{"globby":"^11.0.1","npmlog":"^4.1.2","ask-nicely":"^4.0.4","fontoxpath":"^3.14.2","slimdom-sax-parser":"^1.4.0"},"_hasShrinkwrap":false,"devDependencies":{"tsdx":"^0.14.1","tslib":"^2.0.3","typescript":"^4.1.3"},"peerDependencies":{},"_npmOperationalInternal":{"tmp":"tmp/node-schematron_2.0.1_1612625189209_0.4598333849024179","host":"s3://npm-registry-packages"}},"2.0.2":{"name":"node-schematron","version":"2.0.2","keywords":["schematron","xml","validation","terminal"],"author":{"url":"https://github.com/wvbe","name":"Wybe Minnebo","email":"wybe@x-54.com"},"license":"MIT","_id":"node-schematron@2.0.2","maintainers":[{"name":"wvbe","email":"wybe@x-54.com"}],"homepage":"https://github.com/wvbe/node-schematron","bugs":{"url":"https://github.com/wvbe/node-schematron/issues"},"bin":{"node-schematron":"bin/schematron.js"},"dist":{"shasum":"6e729150fb3f4d5dec6b69e35d75f1b0af22f8a4","tarball":"https://registry.npmjs.org/node-schematron/-/node-schematron-2.0.2.tgz","fileCount":24,"integrity":"sha512-9JcTsxGBktp4guevMMf3Vqaxg+7CJFak/B9oSeSGfq1SHji3FWIYvczh3BJlhwPTtyH5JrK/fwWdM0t7xHMsIg==","signatures":[{"sig":"MEQCIC/4aR5a4isGOyCiXnVI/EDnQqJezKyvKXUBKA3EtqNoAiAUaY+DQ9OyeJveBFMgJHebk0LBFhYXwXLx5p94Coqc2g==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":134210,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg6WzzCRA9TVsSAnZWagAA510QAI7OGXNOFdYvyRzqN/r4\nDzxFsKR8COcdSxsd32kJYm6tg7ZiFPSOCxygeGx4n8Zsq7j+5fZv8pYN9tWU\nlmwkwHn2tKxHw+gE6/B+NDBySSRJU4OvTX/8kphU/0s0fubz9v3we9TaMoVt\nmlTMbWX1cO+krdPv83/Hcf3SfMpPqVfPXgI4NtRNvVidPiF5Ji8jVfNFR3yi\n/HPyZGSgZK44grM4Edcccsqb9l5yYd3sKUkZNaY/PEBCzG6Azojs0Ay3yYJ2\n+o3jUviizASW6CZS5mUe/B9A03grJVLJyHALlBfVLt6jjxvVGiI9/6Bg61zE\n7+vaqNyMpucvrguLXdsbeA5GoX73DTA2byVXzg902w9Acdc2Y73ExN8mfePt\nJLH6nM11C8dmtS7H4p5CYlim92DYeM42WSU1kpdixwkQz4kj+xVxWAtmstFF\nSHoO3+XrOqhLMQb+kMvuIbM+G3yv1C8OvIhQL29vjvg3kCJYaXdjhybRiGvc\noYyrCDx3lSBMfYzG0THwFoeR5oTqBitGDL3PrLUnKu/u+J3Qyvqoxjx+Zci2\n8liO0pT0xK1K3qDu1NNfdXKaVAOaNl3PUtEl5HJuPtDvnd0ayVEpk/tvxoyr\nqQLVqxxyhSYKs2AYZrfSTBacE58ehUqCbw2/AukiqxEo2vXJQ85SavWeEEPm\n1MB9\r\n=4/5W\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","module":"dist/node-schematron.esm.js","gitHead":"096aa23785d454af2a016a36f7703625d1e4feb6","scripts":{"demo":"node ./bin/schematron.js \"test/xml/simple-schematron.xml\" \"test/xml/simple-document.xml\"","lint":"tsdx lint","test":"tsdx test","build":"tsdx build","start":"tsdx watch","prepare":"tsdx build"},"typings":"dist/index.d.ts","_npmUser":{"name":"wvbe","email":"wybe@x-54.com"},"prettier":{"semi":true,"useTabs":true,"tabWidth":4,"printWidth":100,"singleQuote":true,"trailingComma":"none"},"repository":{"url":"git+https://github.com/wvbe/node-schematron.git","type":"git"},"_npmVersion":"7.19.0","description":"A pure-JS Schematron implementation for Node, browsers and CLI","directories":{},"_nodeVersion":"14.8.0","dependencies":{"globby":"^11.0.4","npmlog":"^4.1.2","ask-nicely":"^4.0.4","fontoxpath":"^3.18.1","slimdom-sax-parser":"^1.4.1"},"_hasShrinkwrap":false,"devDependencies":{"tsdx":"^0.14.1","tslib":"^2.3.0","typescript":"^4.3.5"},"peerDependencies":{},"_npmOperationalInternal":{"tmp":"tmp/node-schematron_2.0.2_1625910514784_0.07161551685727008","host":"s3://npm-registry-packages"}},"2.1.0-rc.1":{"name":"node-schematron","version":"2.1.0-rc.1","keywords":["schematron","xml","validation","terminal"],"author":{"url":"https://github.com/wvbe","name":"Wybe Minnebo","email":"wybe@x-54.com"},"license":"MIT","_id":"node-schematron@2.1.0-rc.1","maintainers":[{"name":"wybe.pizza","email":"wybe@x-54.com"}],"homepage":"https://github.com/wvbe/node-schematron","bugs":{"url":"https://github.com/wvbe/node-schematron/issues"},"bin":{"node-schematron":"bin/schematron.js"},"dist":{"shasum":"486ab7fc4ef967f90bc52da1ca7225903032fd42","tarball":"https://registry.npmjs.org/node-schematron/-/node-schematron-2.1.0-rc.1.tgz","fileCount":24,"integrity":"sha512-wL7ezvPh868dLtKCoUk4DJVRbguGckOT/SHvDAqJbD1cWd9GXCkeRwSJAhPmF6JneDXxrx9jEDefVJYTHbHUdw==","signatures":[{"sig":"MEUCIA2K9HB8Ml7Z2aw6Ejc9Qhjndn8yGV+x027G4mr+Z0PYAiEAqvUEC+heSr1wV+e2p+pSli9Jc8PfDLy2anu7CGYvkGM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":345719},"main":"dist/index.js","module":"dist/node-schematron.esm.js","gitHead":"ad8113ec4716bdea4f13d1feaac2335cc7e66125","scripts":{"demo":"node ./bin/schematron.js \"test/xml/simple-schematron.xml\" \"test/xml/simple-document.xml\"","lint":"tsdx lint","test":"tsdx test","build":"tsdx build","start":"tsdx watch","prepare":"tsdx build"},"typings":"dist/index.d.ts","_npmUser":{"name":"wybe.pizza","email":"wybe@x-54.com"},"prettier":{"semi":true,"useTabs":true,"tabWidth":4,"printWidth":100,"singleQuote":true,"trailingComma":"none"},"repository":{"url":"git+https://github.com/wvbe/node-schematron.git","type":"git"},"_npmVersion":"10.7.0","description":"A pure-JS Schematron implementation for Node, browsers and CLI","directories":{},"_nodeVersion":"18.20.3","dependencies":{"globby":"^11.0.4","npmlog":"^4.1.2","slimdom":"^4.3.5","ask-nicely":"^4.0.4","fontoxpath":"^3.18.1"},"_hasShrinkwrap":false,"devDependencies":{"tsdx":"^0.14.1","tslib":"^2.3.0","typescript":"^4.3.5"},"_npmOperationalInternal":{"tmp":"tmp/node-schematron_2.1.0-rc.1_1736032429941_0.6728431073469605","host":"s3://npm-registry-packages-npm-production"}},"2.1.0":{"name":"node-schematron","version":"2.1.0","description":"A pure-JS Schematron implementation for Node, browsers and CLI","repository":{"type":"git","url":"git+https://github.com/wvbe/node-schematron.git"},"author":{"name":"Wybe Minnebo","email":"wybe@x-54.com","url":"https://github.com/wvbe"},"license":"MIT","homepage":"https://github.com/wvbe/node-schematron","keywords":["schematron","xml","validation","terminal"],"bin":{"node-schematron":"bin/schematron.js"},"main":"dist/index.js","module":"dist/node-schematron.esm.js","typings":"dist/index.d.ts","scripts":{"start":"tsdx watch","build":"tsdx build","test":"tsdx test","lint":"tsdx lint","prepare":"tsdx build","demo":"node ./bin/schematron.js \"test/xml/simple-schematron.xml\" \"test/xml/simple-document.xml\""},"dependencies":{"ask-nicely":"^4.0.4","fontoxpath":"^3.18.1","globby":"^11.0.4","npmlog":"^4.1.2","slimdom":"^4.3.5"},"devDependencies":{"tsdx":"^0.14.1","tslib":"^2.3.0","typescript":"^4.3.5"},"prettier":{"printWidth":100,"semi":true,"singleQuote":true,"tabWidth":4,"trailingComma":"none","useTabs":true},"_id":"node-schematron@2.1.0","gitHead":"cd166761136e88c30b49b2b533d939facc953f4c","bugs":{"url":"https://github.com/wvbe/node-schematron/issues"},"_nodeVersion":"18.20.3","_npmVersion":"10.7.0","dist":{"integrity":"sha512-CwJvGsFLH6jX3Qeu/ze6AsQRGzZ/Q3Xqrwfs0+ucPRejoVa0/Mnb7SZjR6hOMHNNBTncCdwVVSx4IuLNnxHv8A==","shasum":"0de51db020445498ae77fccae55a87ac05f9d4ba","tarball":"https://registry.npmjs.org/node-schematron/-/node-schematron-2.1.0.tgz","fileCount":24,"unpackedSize":345714,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD5SJVuJDDkU3PmtwePFOxZSNoeqq05q4XHuT0Kk1y0RwIhAIm2+PAkSK1jawRGqe/4b1mikC+d07UYtGdrrrP1bRuU"}]},"_npmUser":{"name":"wybe.pizza","email":"wybe@x-54.com"},"directories":{},"maintainers":[{"name":"wybe.pizza","email":"wybe@x-54.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/node-schematron_2.1.0_1737469580218_0.04494048053550781"},"_hasShrinkwrap":false}},"time":{"created":"2019-09-20T11:28:45.660Z","modified":"2025-01-21T14:26:20.642Z","0.0.1":"2019-09-20T11:28:45.801Z","0.0.2":"2019-09-20T14:47:44.036Z","0.0.3":"2019-09-24T15:23:28.130Z","1.0.0":"2019-11-04T14:06:27.544Z","1.1.0":"2019-11-26T13:35:58.013Z","1.1.1":"2020-01-27T11:15:30.583Z","2.0.0":"2020-11-15T15:14:11.650Z","2.0.1":"2021-02-06T15:26:29.326Z","2.0.2":"2021-07-10T09:48:34.959Z","2.1.0-rc.1":"2025-01-04T23:13:50.112Z","2.1.0":"2025-01-21T14:26:20.461Z"},"bugs":{"url":"https://github.com/wvbe/node-schematron/issues"},"author":{"name":"Wybe Minnebo","email":"wybe@x-54.com","url":"https://github.com/wvbe"},"license":"MIT","homepage":"https://github.com/wvbe/node-schematron","keywords":["schematron","xml","validation","terminal"],"repository":{"type":"git","url":"git+https://github.com/wvbe/node-schematron.git"},"description":"A pure-JS Schematron implementation for Node, browsers and CLI","maintainers":[{"name":"wybe.pizza","email":"wybe@x-54.com"}],"readme":"# node-schematron\n\nThis is an Schematron minimal syntax implementation for front- and back-end Javascript. It can be used as\na NodeJS dependency as well as in the browser (ie. wrapped by Webpack). It returns a JSON object with the (resolved)\nmessages of your assertions.\n\n## To use programmatically\n\nTo use programmatically, install to your project like any other npm module: `npm install node-schematron`\n\n```js\nconst { Schema } = require('node-schematron');\n\nconst schema = Schema.fromString(`<schema xmlns=\"http://purl.oclc.org/dsdl/schematron\">\n\t<pattern>\n\t\t<rule context=\"thunder\">\n\t\t\t<let name=\"lightning\"/>\n\t\t\t<report test=\"$lightning/@foo = 'bar'\">\n\t\t\t\tSkeet boop <value-of select=\"$lightning/@foo\" />\n\t\t\t</report>\n\t\t</rule>\n\t</pattern>\n</schema>`);\n\n// OR\n\nconst schema = Schema.fromString(`<schema xmlns=\"http://purl.oclc.org/dsdl/schematron\">\n\t<include href=\"file.xml\" />\n</schema>`, { resourceDir: '/path/to/include/files' });\n\nconst results = schema.validateString(\n\t`<xml foo=\"err\">\n\t<thunder foo=\"bar\" />\n</xml>`,\n\t{ debug: true }\n);\n\n// results === [\n//   {\n//      isReport: true,\n//      context: <thunder foo=\"bar\" />,\n//      message: '\\n\\t\\t\\t\\tSkeet boop bar\\n\\t\\t\\t'\n//   }\n// ]\n```\n\n## To use from command line\n\nTo use as a command in your terminal, install globally like: `npm install -g node-schematron`. Alternatively, you can\nuse `npx` to run it.\n\nThe `node-schematron` command has two parameters, the last one of which is optional:\n\n1. `schematronLocation`, required, an absolute path or relative reference to your schematron XML. For example\n   `my-schema.sch`.\n2. `globPattern`, optional, a globbing pattern for documents. For example `*.{xml,dita}` (all .xml and .dita files).\n   Defaults to `*.xml` (all .xml files in the current working directory).\n\n```sh\n/Users/Wybe/Docs/schematron-test:\n  node-schematron my-schema.sch\n  # Gives the results for all \"*.xml\" files in this directory\n```\n\n```sh\n/Users/Wybe/Docs/schematron-test:\n  node-schematron my-schema \"docs/**/*.xml\"\n  # Gives the results for all \"*.xml\" files in the docs/ directory and all subdirectories\n```\n\nBesides that you can give it a fair amount of options:\n\n| Long name     | Short | Description                                                                                                                                                                         |\n| ------------- | ----- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `--reporters` | `-r`  | The reporter(s) to use. Zero or many of `npm` or `xunit`, space separated.                                                                                                          |\n| `--ok`        | `-o`  | Do not exit process with an error code if at least one document fails a schematron assertion.                                                                                       |\n| `--debug`     | `-D`  | Display extra stack trace information in case of XPath errors                                                                                                                       |\n| `--files`     | `-f`  | A list of files, in case you can't use the globbing parameter.                                                                                                                      |\n| `--batch`     | `-b`  | The number of documents to handle before opening the next child process. Defaults to `5000`.                                                                                        |\n| `--phase`     | `-p`  | The schematron phase to run. Defaults to `#DEFAULT` (which means the `@defaultPhase` value or `#ALL`.                                                                               |\n| `--log-level` | `-l`  | The amount of stuff to log. Only used if `-r` includes `npm`. Value must be one of `silly`, `info`, `report`, `pass`, `assert`, `fail`, `fileError` or `error`. Defaults to `info`. |\n\n```sh\n/Users/Wybe/Docs/schematron-test:\n  node-schematron my-schema.sch \"**/*.xml\" --phase publication --log-level fail\n  # Validates the \"publication\" phase and logs only the paths of documents that fail\n```\n\n```sh\n/Users/Wybe/Docs/schematron-test:\n  node-schematron my-schema.sch \"**/*.xml\" -r xunit > test-reports/test-report.xml\n  # Validates the \"publication\" phase and writes an XUnit XML report to file\n```\n\n## Custom functions\n\nXSLT functions (`<xsl:function>`) are not supported. There is a feature branch (`xslt-functions`)\nwith a naive implementation that unfortunately got stuck. More about that problem in\n[this closing comment in a related ticket](https://github.com/wvbe/node-schematron/issues/1#issuecomment-873554478).\n\nTo define custom XPath functions via Javascript, import `registerCustomXPathFunction`:\n\n```js\nconst { registerCustomXPathFunction } = require('node-schematron');\n\nregisterCustomXPathFunction(\n\t{\n\t\tlocalName: 'is-foo',\n\t\tnamespaceURI: 'http://example.com'\n\t},\n\t['xs:string?'],\n\t'xs:boolean',\n\t(domFacade, input) => input === 'foo'\n);\n```\n\nThe `registerCustomXPathFunction` is an alias for the same function in `fontoxpath`. See the\n[fontoxpath \"global functions\" documentation](https://github.com/FontoXML/fontoxpath#global-functions) for more\ninformation.\n\n## Compliance\n\nAs for features, check out the unit tests in `test/`. I've mirrored them to the text of [ISO/IEC 19757-3 2016](./docs/c055982_ISO_IEC_19757-3_2016.pdf) in order to clearly assert how far `node-schematron` is up to spec.\nI've also noticed there's different ways you can read that text, so please file an issue if you feel `node-schematron`\nbehaves in a non-standard or buggy way.\n\n| Section | Thing          | Status         |\n| ------- | -------------- |----------------|\n| 5.4.1   | `<active />`   | Tests OK       |\n| 5.4.1   | `<active />`   | Tests OK       |\n| 5.4.2   | `<assert />`   | Tests OK       |\n| 5.4.3   | `<extends />`  | Not on roadmap |\n| 5.4.4   | `<include />`  | Tests OK       |\n| 5.4.5   | `<let />`      | Tests OK       |\n| 5.4.6   | `<name />`     | Tests OK       |\n| 5.4.7   | `<ns />`       | Experimental   |\n| 5.4.8   | `<param />`    | Tests OK       |\n| 5.4.9   | `<pattern />`  | Tests OK       |\n| 5.4.10  | `<phase />`    | Tests OK       |\n| 5.4.11  | `<report />`   | Tests OK       |\n| 5.4.12  | `<rule />`     | Tests OK       |\n| 5.4.13  | `<schema />`   | Tests OK       |\n| 5.4.14  | `<value-of />` | Tests OK       |\n\nNot supported attributes are `@abstract`, `@diagnostics`, `@icon`, `@see`, `@fpi`, `@flag`, `@role` and `@subject`.\n\n## Support\n\n-   Every pull request will be considered and responded to.\n-   The schematron query language is XPath 3.1, implemented by [fontoxpath](https://www.npmjs.com/package/fontoxpath). It\n    is [not yet feature complete](https://documentation.fontoxml.com/editor/latest/xpath-25591894.html).\n\n## License\n\nCopyright (c) 2019 Wybe Minnebo\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated\ndocumentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the\nrights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit\npersons to whom the Software is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the\nSoftware.\n\n**THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE\nWARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR\nCOPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\nOTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.**\n","readmeFilename":"README.md"}