{"_id":"rexml","_rev":"299743","name":"rexml","description":"Simple XML parsing with a regular expression.","dist-tags":{"latest":"2.2.2"},"maintainers":[{"name":"zvr","email":""}],"time":{"modified":"2024-01-31T16:04:19.000Z","created":"2018-07-18T21:10:25.301Z","2.2.2":"2019-08-08T02:40:24.580Z","2.2.1":"2019-08-08T02:39:24.584Z","2.2.0":"2019-08-08T02:22:43.953Z","2.1.0":"2019-08-02T21:59:36.974Z","2.0.3":"2019-07-27T16:44:01.455Z","2.0.2":"2019-06-20T00:51:33.542Z","2.0.1":"2019-06-14T12:38:04.233Z","2.0.0":"2019-06-14T12:27:33.112Z","1.4.0":"2019-04-08T16:27:18.086Z","1.3.0":"2019-02-10T13:06:04.676Z","1.2.0":"2018-10-01T15:50:20.656Z","1.1.0":"2018-07-19T17:07:24.184Z","1.0.0":"2018-07-18T21:10:25.301Z"},"users":{},"author":{"name":"Anton","email":"anton@adc.sh"},"repository":{"type":"git","url":"git://github.com/artdecocode/rexml.git"},"versions":{"2.2.2":{"name":"rexml","version":"2.2.2","description":"Simple XML parsing with a regular expression.","main":"build/index.js","module":"src/index.js","scripts":{"t":"zoroaster -a","test":"yarn t test/spec","test-build":"ALAMODE_ENV=test-build yarn test","lint":"eslint .","doc":"NODE_DEBUG=doc doc -o README.md -n _rexml","e":"alanode","externs":"typal types/externs.js","example/":"yarn e example/example.js","build":"yarn-s b doc","build-re":"babel src/lib/res0.js -d src/lib/res0.js","b":"alamode src -o build -s"},"externs":"types/externs.js","repository":{"type":"git","url":"git://github.com/artdecocode/rexml.git"},"keywords":["rexml","xml","parse","extract","tags","attributes"],"author":{"name":"Anton","email":"anton@adc.sh"},"license":"MIT","bugs":{"url":"https://github.com/artdecocode/rexml/issues"},"homepage":"https://github.com/artdecocode/rexml#readme","devDependencies":{"@babel/plugin-proposal-unicode-property-regex":"7.4.4","alamode":"^2.4.0","documentary":"^1.31.0","eslint-config-artdeco":"1.0.1","yarn-s":"1.1.0","zoroaster":"^4.1.1-alpha"},"dependencies":{"mismatch":"^1.2.0"},"licenseText":"MIT License\n\nCopyright (c) 2019 Art Deco Code Limited\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"rexml@2.2.2","dist":{"shasum":"9d73e0a816c989ee5800cdfd56609528655d76e6","size":9897,"noattachment":false,"key":"/rexml/-/rexml-2.2.2.tgz","tarball":"http://name.csiicloud.com:7001/rexml/download/rexml-2.2.2.tgz"},"maintainers":[{"name":"zvr","email":""}],"_npmUser":{"name":"zvr","email":"anton@adc.sh"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rexml_2.2.2_1565232024422_0.17962533759805432"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-24T05:19:39.642Z","publish_time":1565232024580,"_cnpm_publish_time":1565232024580},"2.2.1":{"name":"rexml","version":"2.2.1","description":"Simple XML parsing with a regular expression.","main":"build/index.js","module":"src/index.js","scripts":{"t":"zoroaster -a","test":"yarn t test/spec","test-build":"ALAMODE_ENV=test-build yarn test","lint":"eslint .","doc":"NODE_DEBUG=doc doc -o README.md -n _rexml","e":"alanode","externs":"typal types/externs.js","example/":"yarn e example/example.js","build":"yarn-s b doc","build-re":"babel src/lib/res0.js -d src/lib/res0.js","b":"alamode src -o build -s"},"externs":"types/externs.js","repository":{"type":"git","url":"git://github.com/artdecocode/rexml.git"},"keywords":["rexml","xml","parse","extract","tags","attributes"],"author":{"name":"Anton","email":"anton@adc.sh"},"license":"MIT","bugs":{"url":"https://github.com/artdecocode/rexml/issues"},"homepage":"https://github.com/artdecocode/rexml#readme","devDependencies":{"@babel/plugin-proposal-unicode-property-regex":"7.4.4","alamode":"^2.4.0","documentary":"^1.31.0","eslint-config-artdeco":"1.0.1","yarn-s":"1.1.0","zoroaster":"^4.1.1-alpha"},"dependencies":{"mismatch":"^1.2.0"},"licenseText":"MIT License\n\nCopyright (c) 2018 Art Deco Code Limited\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"rexml@2.2.1","dist":{"shasum":"75bc943bbeb5e02c3adb09c0226564552c50f53a","size":9885,"noattachment":false,"key":"/rexml/-/rexml-2.2.1.tgz","tarball":"http://name.csiicloud.com:7001/rexml/download/rexml-2.2.1.tgz"},"maintainers":[{"name":"zvr","email":""}],"_npmUser":{"name":"zvr","email":"anton@adc.sh"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rexml_2.2.1_1565231964441_0.20783760882873126"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-24T05:19:38.773Z","publish_time":1565231964584,"_cnpm_publish_time":1565231964584},"2.2.0":{"name":"rexml","version":"2.2.0","description":"Simple XML parsing with a regular expression.","main":"build/index.js","module":"src/index.js","scripts":{"t":"zoroaster -a","test":"yarn t test/spec","test-build":"ALAMODE_ENV=test-build yarn test","lint":"eslint .","doc":"NODE_DEBUG=doc doc -o README.md -n _rexml","e":"alanode","externs":"typal types/externs.js","example/":"yarn e example/example.js","build":"yarn-s b doc","build-re":"babel src/lib/res0.js -d src/lib/res0.js","b":"alamode src -o build -s"},"externs":"types/externs.js","repository":{"type":"git","url":"git://github.com/artdecocode/rexml.git"},"keywords":["rexml","xml","parse","extract","tags","attributes"],"author":{"name":"Anton","email":"anton@adc.sh"},"license":"MIT","bugs":{"url":"https://github.com/artdecocode/rexml/issues"},"homepage":"https://github.com/artdecocode/rexml#readme","devDependencies":{"@babel/plugin-proposal-unicode-property-regex":"7.4.4","alamode":"^2.4.0","documentary":"^1.31.0","eslint-config-artdeco":"1.0.1","yarn-s":"1.1.0","zoroaster":"^4.1.1-alpha"},"dependencies":{"mismatch":"^1.2.0"},"licenseText":"MIT License\n\nCopyright (c) 2018 Art Deco Code Limited\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"rexml@2.2.0","dist":{"shasum":"233864bda67df19375e042022fe086d285146cc1","size":9856,"noattachment":false,"key":"/rexml/-/rexml-2.2.0.tgz","tarball":"http://name.csiicloud.com:7001/rexml/download/rexml-2.2.0.tgz"},"maintainers":[{"name":"zvr","email":""}],"_npmUser":{"name":"zvr","email":"anton@adc.sh"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rexml_2.2.0_1565230963850_0.081120385727941"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-24T05:19:37.913Z","publish_time":1565230963953,"_cnpm_publish_time":1565230963953},"2.1.0":{"name":"rexml","version":"2.1.0","description":"Simple XML parsing with a regular expression.","main":"build/index.js","module":"src/index.js","scripts":{"t":"zoroaster -b -a","test":"yarn t test/spec","test-build":"ALAMODE_ENV=test-build yarn test","lint":"eslint .","doc":"NODE_DEBUG=doc doc -o README.md","e":"alanode","externs":"typal types/externs.js","example/":"yarn e example/example.js","build":"yarn-s b doc","build-re":"babel src/lib/res0.js -d src/lib/res0.js","b":"alamode src -o build -s"},"externs":"types/externs.js","repository":{"type":"git","url":"git://github.com/artdecocode/rexml.git"},"keywords":["rexml","xml","parse","extract","tags","attributes"],"author":{"name":"Anton","email":"anton@adc.sh"},"license":"MIT","bugs":{"url":"https://github.com/artdecocode/rexml/issues"},"homepage":"https://github.com/artdecocode/rexml#readme","devDependencies":{"@babel/cli":"7.5.5","@babel/core":"7.5.5","@babel/plugin-proposal-unicode-property-regex":"7.4.4","@babel/register":"7.5.5","alamode":"^2.3.6","documentary":"^1.29.0","eslint-config-artdeco":"1.0.1","yarn-s":"1.1.0","zoroaster":"^4.1.1-alpha"},"dependencies":{"mismatch":"^1.2.0"},"licenseText":"MIT License\n\nCopyright (c) 2018 Art Deco Code Limited\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"rexml@2.1.0","dist":{"shasum":"1951674a53a6f15d887c10ae1a22e67fa24bacfe","size":9196,"noattachment":false,"key":"/rexml/-/rexml-2.1.0.tgz","tarball":"http://name.csiicloud.com:7001/rexml/download/rexml-2.1.0.tgz"},"maintainers":[{"name":"zvr","email":""}],"_npmUser":{"name":"zvr","email":"anton@adc.sh"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rexml_2.1.0_1564783176814_0.7406416049789142"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-24T05:19:37.011Z","publish_time":1564783176974,"_cnpm_publish_time":1564783176974},"2.0.3":{"name":"rexml","version":"2.0.3","description":"Simple XML parsing with a regular expression.","main":"build/index.js","module":"src/index.js","scripts":{"t":"zoroaster -b -a","test":"yarn t test/spec","test-build":"ALAMODE_ENV=test-build yarn test","lint":"eslint .","doc":"NODE_DEBUG=doc doc -o README.md","e":"alanode","example/":"yarn e example/example.js","build":"yarn-s b doc","build-re":"babel src/lib/res0.js -d src/lib/res0.js","b":"alamode src -o build -s"},"repository":{"type":"git","url":"git://github.com/artdecocode/rexml.git"},"keywords":["rexml","xml","parse","extract","tags","attributes"],"author":{"name":"Anton","email":"anton@adc.sh"},"license":"MIT","bugs":{"url":"https://github.com/artdecocode/rexml/issues"},"homepage":"https://github.com/artdecocode/rexml#readme","devDependencies":{"@babel/cli":"7.5.5","@babel/core":"7.5.5","@babel/plugin-proposal-unicode-property-regex":"7.4.4","@babel/register":"7.5.5","alamode":"^2.3.6","documentary":"^1.28.0","eslint-config-artdeco":"1.0.1","yarn-s":"1.1.0","zoroaster":"^4.1.1-alpha"},"dependencies":{"mismatch":"^1.2.0"},"licenseText":"MIT License\n\nCopyright (c) 2018 Art Deco Code Limited\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"rexml@2.0.3","dist":{"shasum":"46094ba42380ffd1a57882169d13d8e9e87dd993","size":8973,"noattachment":false,"key":"/rexml/-/rexml-2.0.3.tgz","tarball":"http://name.csiicloud.com:7001/rexml/download/rexml-2.0.3.tgz"},"maintainers":[{"name":"zvr","email":""}],"_npmUser":{"name":"zvr","email":"anton@adc.sh"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rexml_2.0.3_1564245841307_0.5031981881534535"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-24T05:19:35.915Z","publish_time":1564245841455,"_cnpm_publish_time":1564245841455},"2.0.2":{"name":"rexml","version":"2.0.2","description":"Simple XML parsing with a regular expression.","main":"build/index.js","module":"src/index.js","scripts":{"t":"zoroaster -b -a","test":"yarn t test/spec","test-build":"ALAMODE_ENV=test-build yarn test","lint":"eslint .","doc":"NODE_DEBUG=doc doc -o README.md","e":"alanode","example/":"yarn e example/example.js","build":"yarn-s b doc","build-re":"babel src/lib/res0.js -d src/lib/res0.js","b":"alamode src -o build -s"},"repository":{"type":"git","url":"git://github.com/artdecocode/rexml.git"},"keywords":["rexml","xml","parse","extract","tags","attributes"],"author":{"name":"Anton","email":"anton@adc.sh"},"license":"MIT","bugs":{"url":"https://github.com/artdecocode/rexml/issues"},"homepage":"https://github.com/artdecocode/rexml#readme","devDependencies":{"@babel/cli":"7.4.4","@babel/core":"7.4.5","@babel/plugin-proposal-unicode-property-regex":"7.4.4","@babel/register":"7.4.4","alamode":"^2.3.4","documentary":"^1.27.3","eslint-config-artdeco":"1.0.1","yarn-s":"1.1.0","zoroaster":"^4.1.1-alpha"},"dependencies":{"mismatch":"^1.2.0"},"licenseText":"MIT License\n\nCopyright (c) 2018 Art Deco Code Limited\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"rexml@2.0.2","dist":{"shasum":"e1e6b04aab7d26c72f5f732887c1d6abf0a1d92b","size":8908,"noattachment":false,"key":"/rexml/-/rexml-2.0.2.tgz","tarball":"http://name.csiicloud.com:7001/rexml/download/rexml-2.0.2.tgz"},"maintainers":[{"name":"zvr","email":""}],"_npmUser":{"name":"zvr","email":"anton@adc.sh"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rexml_2.0.2_1560991893380_0.477530494043227"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-24T05:19:35.042Z","publish_time":1560991893542,"_cnpm_publish_time":1560991893542},"2.0.1":{"name":"rexml","version":"2.0.1","description":"Simple XML parsing with a regular expression.","main":"build/index.js","module":"src/index.js","scripts":{"t":"zoroaster -b -a","test":"yarn t test/spec","test-build":"ALAMODE_ENV=test-build yarn test","lint":"eslint .","doc":"NODE_DEBUG=doc doc -o README.md","e":"alanode","example/":"yarn e example/example.js","build":"yarn-s b doc","build-re":"babel src/lib/res0.js -d src/lib/res0.js","b":"alamode src -o build -s"},"repository":{"type":"git","url":"git://github.com/artdecocode/rexml.git"},"keywords":["rexml","xml","parse","extract","tags","attributes"],"author":{"name":"Anton","email":"anton@adc.sh"},"license":"MIT","bugs":{"url":"https://github.com/artdecocode/rexml/issues"},"homepage":"https://github.com/artdecocode/rexml#readme","devDependencies":{"@babel/cli":"7.4.4","@babel/core":"7.4.5","@babel/plugin-proposal-unicode-property-regex":"7.4.4","@babel/register":"7.4.4","alamode":"^2.3.4","documentary":"^1.27.3","eslint-config-artdeco":"1.0.1","yarn-s":"1.1.0","zoroaster":"^4.1.1-alpha"},"dependencies":{"mismatch":"^1.2.0"},"licenseText":"MIT License\n\nCopyright (c) 2018 Art Deco Code Limited\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"rexml@2.0.1","dist":{"shasum":"964516e7bb6636decc832fb000620dd517d4a6c4","size":8864,"noattachment":false,"key":"/rexml/-/rexml-2.0.1.tgz","tarball":"http://name.csiicloud.com:7001/rexml/download/rexml-2.0.1.tgz"},"maintainers":[{"name":"zvr","email":""}],"_npmUser":{"name":"zvr","email":"anton@adc.sh"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rexml_2.0.1_1560515884032_0.8340503870747378"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-24T05:19:34.187Z","publish_time":1560515884233,"_cnpm_publish_time":1560515884233},"2.0.0":{"name":"rexml","version":"2.0.0","description":"Simple XML parsing with a regular expression.","main":"build/index.js","module":"src/index.js","scripts":{"t":"zoroaster -b -a","test":"yarn t test/spec","test-build":"ALAMODE_ENV=test-build yarn test","lint":"eslint .","doc":"NODE_DEBUG=doc doc -o README.md","e":"alanode","example/":"yarn e example/example.js","build":"yarn-s b doc","build-re":"babel src/lib/res0.js -d src/lib/res0.js","b":"alamode src -o build -s"},"repository":{"type":"git","url":"git://github.com/artdecocode/rexml.git"},"keywords":["rexml","xml","parse","extract","tags","attributes"],"author":{"name":"Anton","email":"anton@adc.sh"},"license":"MIT","bugs":{"url":"https://github.com/artdecocode/rexml/issues"},"homepage":"https://github.com/artdecocode/rexml#readme","devDependencies":{"@babel/cli":"7.4.4","@babel/core":"7.4.5","@babel/plugin-proposal-unicode-property-regex":"7.4.4","@babel/register":"7.4.4","alamode":"^2.3.4","documentary":"^1.27.3","eslint-config-artdeco":"1.0.1","yarn-s":"1.1.0","zoroaster":"^4.1.1-alpha"},"dependencies":{"mismatch":"^1.2.0"},"licenseText":"MIT License\n\nCopyright (c) 2018 Art Deco Code Limited\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"rexml@2.0.0","dist":{"shasum":"f6b461b9760978617c3456d0cd3e6d1f32f6ce85","size":8967,"noattachment":false,"key":"/rexml/-/rexml-2.0.0.tgz","tarball":"http://name.csiicloud.com:7001/rexml/download/rexml-2.0.0.tgz"},"maintainers":[{"name":"zvr","email":""}],"_npmUser":{"name":"zvr","email":"anton@adc.sh"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rexml_2.0.0_1560515252958_0.67855772280183"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-24T05:19:33.095Z","publish_time":1560515253112,"_cnpm_publish_time":1560515253112},"1.4.0":{"name":"rexml","version":"1.4.0","description":"Simple XML parsing with a regular expression.","main":"build/index.js","module":"src/index.js","scripts":{"t":"zoroaster -b -a","test":"yarn t test/spec","test-build":"ALAMODE_ENV=test-build yarn test","lint":"eslint .","doc":"NODE_DEBUG=doc doc documentary -o README.md","rec":"NODE_DEBUG=appshot appshot -T 23 -a Terminal -y 150 -f","e":"alanode","example/":"yarn e example/example.js","build":"yarn-s b doc","build-re":"babel src/lib/res0.js -d src/lib/res0.js","b":"alamode src -o build -s"},"repository":{"type":"git","url":"git://github.com/artdecocode/rexml.git"},"keywords":["rexml","xml","parse","extract","tags","attributes"],"author":{"name":"Anton","email":"anton@adc.sh"},"license":"MIT","bugs":{"url":"https://github.com/artdecocode/rexml/issues"},"homepage":"https://github.com/artdecocode/rexml#readme","devDependencies":{"@babel/cli":"7.4.3","@babel/core":"7.4.3","@babel/plugin-proposal-unicode-property-regex":"7.4.0","@babel/register":"7.4.0","alamode":"^1.9.2","documentary":"^1.23.4","eslint-config-artdeco":"1.0.1","yarn-s":"1.1.0","zoroaster":"^3.11.4"},"licenseText":"MIT License\n\nCopyright (c) 2018 Art Deco Code Limited\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"rexml@1.4.0","dist":{"shasum":"64368db531b4e86acf1a3e69a4cbbed94acc5232","size":8003,"noattachment":false,"key":"/rexml/-/rexml-1.4.0.tgz","tarball":"http://name.csiicloud.com:7001/rexml/download/rexml-1.4.0.tgz"},"maintainers":[{"name":"zvr","email":""}],"_npmUser":{"name":"zvr","email":"anton@adc.sh"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rexml_1.4.0_1554740837867_0.5360246380537776"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-24T05:19:32.237Z","publish_time":1554740838086,"_cnpm_publish_time":1554740838086},"1.3.0":{"name":"rexml","version":"1.3.0","description":"Simple XML parsing with a regular expression.","main":"build","scripts":{"t":"zoroaster -b -a","test":"yarn t test/spec","test-build":"ALAMODE_ENV=test-build yarn test","lint":"eslint .","doc":"NODE_DEBUG=doc doc documentary -o README.md","rec":"NODE_DEBUG=appshot appshot -T 23 -a Terminal -y 150 -f","e":"node example","example/":"yarn e example/example.js","build":"yarn-s b doc","b1":"babel src -d build","b2":"alamode build -o build -s","b":"yarn-s b1 b2"},"repository":{"type":"git","url":"git://github.com/artdecocode/rexml.git"},"keywords":["rexml","xml","parse","extract","tags","attributes"],"author":{"name":"Anton","email":"anton@adc.sh"},"license":"MIT","bugs":{"url":"https://github.com/artdecocode/rexml/issues"},"homepage":"https://github.com/artdecocode/rexml#readme","devDependencies":{"@babel/cli":"7.2.3","@babel/core":"7.2.2","@babel/plugin-proposal-unicode-property-regex":"7.2.0","@babel/register":"7.0.0","alamode":"1.7.3","documentary":"1.21.1","eslint-config-artdeco":"1.0.1","yarn-s":"1.1.0","zoroaster":"3.6.6"},"licenseText":"MIT License\n\nCopyright (c) 2018 Art Deco Code Limited\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"rexml@1.3.0","dist":{"shasum":"70d773c2e69da392112784e5ef7a65e77bef9612","size":7336,"noattachment":false,"key":"/rexml/-/rexml-1.3.0.tgz","tarball":"http://name.csiicloud.com:7001/rexml/download/rexml-1.3.0.tgz"},"maintainers":[{"name":"zvr","email":""}],"_npmUser":{"name":"zvr","email":"anton@adc.sh"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rexml_1.3.0_1549803964541_0.4911722055485894"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-24T05:19:31.379Z","publish_time":1549803964676,"_cnpm_publish_time":1549803964676},"1.2.0":{"name":"rexml","version":"1.2.0","description":"Simple XML parsing with a regular expression.","main":"build","scripts":{"t":"zoroaster -b -a","test":"yarn t test/spec","test-build":"ALAMODE_ENV=test-build yarn test","lint":"eslint .","doc":"NODE_DEBUG=doc doc documentary -o README.md","rec":"NODE_DEBUG=appshot appshot -T 23 -a Terminal -y 150 -f","e":"node example","example/":"yarn e example/example.js","build":"yarn-s b doc","b1":"babel src -d build","b2":"alamode build -o build -s","b":"yarn-s b1 b2"},"repository":{"type":"git","url":"git://github.com/artdecocode/rexml.git"},"keywords":["rexml","xml","parse","extract","tags","attributes"],"author":{"name":"Anton","email":"anton@adc.sh"},"license":"MIT","bugs":{"url":"https://github.com/artdecocode/rexml/issues"},"homepage":"https://github.com/artdecocode/rexml#readme","devDependencies":{"@babel/cli":"7.1.2","@babel/core":"7.1.2","@babel/plugin-proposal-unicode-property-regex":"7.0.0","@babel/register":"7.0.0","alamode":"1.5.1","documentary":"1.20.1","eslint-config-artdeco":"1.0.1","yarn-s":"1.1.0","zoroaster":"3.6.1"},"licenseText":"MIT License\n\nCopyright (c) 2018 Art Deco Code Limited\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"rexml@1.2.0","dist":{"shasum":"f78ada4db77b77b5ade1c16ba9e7da6975192438","size":6638,"noattachment":false,"key":"/rexml/-/rexml-1.2.0.tgz","tarball":"http://name.csiicloud.com:7001/rexml/download/rexml-1.2.0.tgz"},"maintainers":[{"name":"zvr","email":""}],"_npmUser":{"name":"zvr","email":"anton@adc.sh"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rexml_1.2.0_1538409020494_0.5674094720201499"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-24T05:19:30.479Z","publish_time":1538409020656,"_cnpm_publish_time":1538409020656},"1.1.0":{"name":"rexml","version":"1.1.0","description":"Simple XML parsing with a regular expression.","main":"build","scripts":{"t":"zoroaster -b","test":"zoroaster -b test/spec","test-build":"BABEL_ENV=test-build yarn test","test-all":"yarn-s test test-build","test-watch":"yarn test -w","lint":"eslint .","doc":"NODE_DEBUG=doc doc documentary -o README.md","rec":"NODE_DEBUG=appshot appshot -T 23 -a Terminal -y 150 -f","e":"node example","example/":"yarn e example/example.js","build":"yarn-s b doc","b":"b --source-maps"},"files":["build"],"repository":{"type":"git","url":"git://github.com/artdecocode/rexml.git"},"keywords":["rexml"],"author":{"name":"Anton","email":"anton@adc.sh"},"license":"MIT","bugs":{"url":"https://github.com/artdecocode/rexml/issues"},"homepage":"https://github.com/artdecocode/rexml#readme","devDependencies":{"@babel/plugin-proposal-unicode-property-regex":"7.0.0-beta.54","documentary":"1.8.2","eslint-config-artdeco":"1.0.1","yarn-s":"1.1.0","zoroaster":"2.1.0"},"licenseText":"MIT License\n\nCopyright (c) 2018 Art Deco Code Limited\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"rexml@1.1.0","dist":{"shasum":"d005c515528aa0c81a39cd456a0da40321ab3fe8","size":8284,"noattachment":false,"key":"/rexml/-/rexml-1.1.0.tgz","tarball":"http://name.csiicloud.com:7001/rexml/download/rexml-1.1.0.tgz"},"maintainers":[{"name":"zvr","email":""}],"_npmUser":{"name":"zvr","email":"anton@adc.sh"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rexml_1.1.0_1532020044129_0.42706753503134887"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-24T05:19:29.590Z","publish_time":1532020044184,"_cnpm_publish_time":1532020044184},"1.0.0":{"name":"rexml","version":"1.0.0","description":"Simple XML parsing with a regular expression.","main":"build","scripts":{"t":"zoroaster -b","test":"zoroaster -b test/spec","test-build":"BABEL_ENV=test-build yarn test","test-all":"yarn-s test test-build","test-watch":"yarn test -w","lint":"eslint .","doc":"NODE_DEBUG=doc doc documentary -o README.md","rec":"NODE_DEBUG=appshot appshot -T 23 -a Terminal -y 150 -f","e":"node example","example/":"yarn e example/example.js","build":"yarn-s b doc","b":"b --source-maps"},"files":["build"],"repository":{"type":"git","url":"git://github.com/artdecocode/rexml.git"},"keywords":["rexml"],"author":{"name":"Anton","email":"anton@adc.sh"},"license":"MIT","bugs":{"url":"https://github.com/artdecocode/rexml/issues"},"homepage":"https://github.com/artdecocode/rexml#readme","devDependencies":{"documentary":"1.8.2","eslint-config-artdeco":"1.0.1","yarn-s":"1.1.0","zoroaster":"2.1.0"},"licenseText":"MIT License\n\nCopyright (c) 2018 Art Deco Code Limited\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"rexml@1.0.0","dist":{"shasum":"1e6ff59c4692552c9f8b87e011d5d7ad01546a08","size":4227,"noattachment":false,"key":"/rexml/-/rexml-1.0.0.tgz","tarball":"http://name.csiicloud.com:7001/rexml/download/rexml-1.0.0.tgz"},"maintainers":[{"name":"zvr","email":""}],"_npmUser":{"name":"zvr","email":"anton@adc.sh"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rexml_1.0.0_1531948225057_0.11947928672075525"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-24T05:19:28.726Z","publish_time":1531948225301,"_cnpm_publish_time":1531948225301}},"readme":"# rexml\n\n[![npm version](https://badge.fury.io/js/rexml.svg)](https://npmjs.org/package/rexml)\n\n`rexml` is a Node.JS package for simple XML parsing with a regular expression. It's been tested to work for simple use cases (does work on nested tags).\n\n```sh\nyarn add rexml\n```\n\n<p align=\"center\"><a href=\"#table-of-contents\">\n  <img src=\"/.documentary/section-breaks/0.svg?sanitize=true\">\n</a></p>\n\n## Table Of Contents\n\n- [Table Of Contents](#table-of-contents)\n- [API](#api)\n  * [`extractTags(tag, string): Return`](#extracttagstag-stringarraystringstring-string-return)\n    * [`Return`](#type-return)\n    * [Extracting Multiple Tags](#extracting-multiple-tags)\n  * [`extractProps(string: string, parseValue?: boolean): Object<string,(boolean|string|number)>`](#extractpropsstring-stringparsevalue-boolean-objectstringbooleanstringnumber)\n  * [`extractTagsSpec(tag: string, string: string): {content, props}[]`](#extracttagsspectag-stringstring-string-content-props)\n- [Copyright](#copyright)\n\n<p align=\"center\"><a href=\"#table-of-contents\">\n  <img src=\"/.documentary/section-breaks/1.svg?sanitize=true\">\n</a></p>\n\n## API\n\nThe package is available by importing its default and named functions:\n\n```js\nimport rexml, { extractProps, extractTagsSpec, extractPropSpec } from 'rexml'\n```\n\n<p align=\"center\"><a href=\"#table-of-contents\">\n  <img src=\"/.documentary/section-breaks/2.svg?sanitize=true\" width=\"25\">\n</a></p>\n\n### <code><ins>extractTags</ins>(</code><sub><br/>&nbsp;&nbsp;`tag: string|!Array<string>,`<br/>&nbsp;&nbsp;`string: string,`<br/></sub><code>): <i>Return</i></code>\nExtract member elements from an XML string. Numbers and booleans will be parsed into their JS types.\n\n - <kbd><strong>tag*</strong></kbd> <em><code>(string \\| !Array&lt;string&gt;)</code></em>: Which tag to extract, e.g., `div`. Can also pass an array of tags, in which case the name of the tag will also be returned.\n - <kbd><strong>string*</strong></kbd> <em>`string`</em>: The XML string.\n\nThe tags are returned as an array with objects containing `content` and `props` properties. The content is the inner content of the tag, and `props` is the attributes specified inside the tag.\n\n<table>\n<tr><th><a href=\"example/index.js\">Source</a></th><th>Output</th></tr>\n<tr><td>\n\n```js\nimport extractTags from 'rexml'\n\nconst xml = `\n<html>\n  <div id=\"d1\"\n    class=\"example\"\n    contenteditable />\n  <div id=\"d2\" class=\"example\">Hello World</div>\n</html>\n`\n\nconst res = extractTags('div', xml)\n```\n</td>\n<td>\n\n```js\n[ { content: '',\n    props: \n     { id: 'd1',\n       class: 'example',\n       contenteditable: true },\n    tag: 'div' },\n  { content: 'Hello World',\n    props: { id: 'd2', class: 'example' },\n    tag: 'div' } ]\n```\n</td></tr>\n</table>\n\n__<a name=\"type-return\">`Return`</a>__: The return type.\n\n\n|     Name     |            Type             |                      Description                       |\n| ------------ | --------------------------- | ------------------------------------------------------ |\n| __content*__ | <em>string</em>             | The content of the tag, including possible whitespace. |\n| __props*__   | <em>!Object<string, ?></em> | The properties of the element.                         |\n| __tag*__     | <em>string</em>             | The name of the extracted element.                     |\n\n<p align=\"center\"><a href=\"#table-of-contents\">\n  <img src=\"/.documentary/section-breaks/3.svg?sanitize=true\" width=\"15\">\n</a></p>\n\n#### Extracting Multiple Tags\n\nIt's possible to give an array of tags which should be extracted from the _XML_ string.\n\n<table>\n<tr><th><a href=\"example/array.js\">Source</a></th><th>Output</th></tr>\n<tr><td>\n\n```js\nimport extractTags from 'rexml'\n\nconst xml = `<html>\n  <div id=\"d1\"/>\n  <div id=\"d2\" class=\"example\">Hello World</div>\n  <footer>Art Deco, 2019</footer>\n</html>\n`\n\nconst res = extractTags(['div', 'footer'], xml)\n```\n</td>\n<td>\n\n```js\n[ { content: '',\n    props: { id: 'd1' },\n    tag: 'div' },\n  { content: 'Hello World',\n    props: { id: 'd2', class: 'example' },\n    tag: 'div' },\n  { content: 'Art Deco, 2019',\n    props: {},\n    tag: 'footer' } ]\n```\n</td></tr>\n</table>\n\n\n<p align=\"center\"><a href=\"#table-of-contents\">\n  <img src=\"/.documentary/section-breaks/4.svg?sanitize=true\" width=\"25\">\n</a></p>\n\n### <code><ins>extractProps</ins>(</code><sub><br/>&nbsp;&nbsp;`string: string,`<br/>&nbsp;&nbsp;`parseValue?: boolean,`<br/></sub><code>): <i>Object<string,(boolean|string|number)></i></code>\n\nExtracts the properties from the attributes part of the tag and returns them as an object. It will parse values if not specified otherwise.\n\n<table>\n<tr><th><a href=\"example/extract-props.js\">Source</a></th><th>Output</th></tr>\n<tr><td>\n\n```js\nimport { extractProps, extractPropsSpec } from 'rexml'\n\nconst s = `id=\"d2\"\nclass=\"example\"\nvalue=\"123\"\nparsable=\"true\"\nignore=\"false\"\n2-non-spec\nrequired`\n\nconst res = extractProps(s)\nconsole.log(JSON.stringify(res, null, 2))\n\n// don't parse booleans and integers\nconst res2 = extractProps(s, false)\nconsole.log(JSON.stringify(res2, null, 2))\n\n// conform to the spec\nconst res3 = extractPropsSpec(s)\nconsole.log(JSON.stringify(res3, null, 2))\n```\n</td>\n<td>\n\n```json\n{\n  \"id\": \"d2\",\n  \"class\": \"example\",\n  \"value\": 123,\n  \"parsable\": true,\n  \"ignore\": false,\n  \"2-non-spec\": true,\n  \"required\": true\n}\n{\n  \"id\": \"d2\",\n  \"class\": \"example\",\n  \"value\": \"123\",\n  \"parsable\": \"true\",\n  \"ignore\": \"false\",\n  \"2-non-spec\": true,\n  \"required\": true\n}\n{\n  \"id\": \"d2\",\n  \"class\": \"example\",\n  \"value\": 123,\n  \"parsable\": true,\n  \"ignore\": false,\n  \"required\": true\n}\n```\n</td></tr>\n</table>\n\n<p align=\"center\"><a href=\"#table-of-contents\">\n  <img src=\"/.documentary/section-breaks/5.svg?sanitize=true\" width=\"25\">\n</a></p>\n\n### <code><ins>extractTagsSpec</ins>(</code><sub><br/>&nbsp;&nbsp;`tag: string,`<br/>&nbsp;&nbsp;`string: string,`<br/></sub><code>): <i>{content, props}[]</i></code>\n\nSame as the default method, but confirms to the XML specification in defining attributes.\n\n```javascript\nimport { extractTagsSpec } from 'rexml'\n\nconst xml = `\n<html>\n  <div id=\"d1\" class=\"example\" contenteditable />\n  <div 5-non-spec>Attributes cannot start with a number.</div>\n</html>`\n\nconst res = extractTagsSpec('div', xml)\n\nconsole.log(JSON.stringify(res, null, 2))\n```\n```json\n[\n  {\n    \"props\": {\n      \"id\": \"d1\",\n      \"class\": \"example\",\n      \"contenteditable\": true\n    },\n    \"content\": \"\"\n  }\n]\n```\n\n<p align=\"center\"><a href=\"#table-of-contents\">\n  <img src=\"/.documentary/section-breaks/6.svg?sanitize=true\">\n</a></p>\n\n## Copyright\n\n<table>\n  <tr>\n    <th>\n      <a href=\"https://artd.eco\">\n        <img width=\"100\" src=\"https://raw.githubusercontent.com/wrote/wrote/master/images/artdeco.png\"\n          alt=\"Art Deco\">\n      </a>\n    </th>\n    <th>© <a href=\"https://artd.eco\">Art Deco</a>   2019</th>\n    <th>\n      <a href=\"https://www.technation.sucks\" title=\"Tech Nation Visa\">\n        <img width=\"100\" src=\"https://raw.githubusercontent.com/idiocc/cookies/master/wiki/arch4.jpg\"\n          alt=\"Tech Nation Visa\">\n      </a>\n    </th>\n    <th><a href=\"https://www.technation.sucks\">Tech Nation Visa Sucks</a></th>\n  </tr>\n</table>\n\n<p align=\"center\"><a href=\"#table-of-contents\">\n  <img src=\"/.documentary/section-breaks/-1.svg?sanitize=true\">\n</a></p>","_attachments":{},"homepage":"https://github.com/artdecocode/rexml#readme","bugs":{"url":"https://github.com/artdecocode/rexml/issues"},"license":"MIT"}