{"_id":"xml-lexer","_rev":"3945882","name":"xml-lexer","description":"XML Lexer","dist-tags":{"latest":"0.2.2"},"maintainers":[{"name":"pladaria","email":""}],"time":{"modified":"2025-09-01T01:34:02.000Z","created":"2016-03-25T10:43:16.522Z","0.2.2":"2016-09-24T15:01:09.803Z","0.2.1":"2016-08-29T12:55:03.430Z","0.2.0":"2016-08-27T21:51:24.229Z","0.1.0":"2016-08-12T07:50:34.402Z","0.0.17":"2016-03-29T07:50:22.844Z","0.0.16":"2016-03-27T18:51:22.640Z","0.0.15":"2016-03-27T15:07:09.615Z","0.0.14":"2016-03-26T18:40:06.921Z","0.0.13":"2016-03-26T17:35:09.038Z","0.0.12":"2016-03-26T17:16:25.041Z","0.0.11":"2016-03-26T14:37:50.464Z","0.0.10":"2016-03-26T13:20:54.054Z","0.0.9":"2016-03-26T13:19:32.468Z","0.0.8":"2016-03-26T13:15:33.371Z","0.0.7":"2016-03-26T13:05:59.468Z","0.0.6":"2016-03-26T12:55:28.244Z","0.0.5":"2016-03-26T12:23:56.714Z","0.0.4":"2016-03-25T13:13:18.674Z","0.0.3":"2016-03-25T11:58:06.218Z","0.0.2":"2016-03-25T11:53:29.437Z","0.0.1":"2016-03-25T10:43:16.522Z"},"users":{},"author":{"name":"Pedro Ladaria","email":"pedro.ladaria@gmail.com"},"repository":{"type":"git","url":"git+https://github.com/pladaria/xml-lexer.git"},"versions":{"0.2.2":{"name":"xml-lexer","version":"0.2.2","description":"XML Lexer","main":"dist/lexer.js","scripts":{"clean":"rimraf dist","prebuild":"npm run clean","build":"babel src --out-dir dist","pretest":"npm run build","test":"nyc ava test/test.js --verbose","prepublish":"npm test","report":"nyc report --reporter=html && opn coverage/index.html"},"keywords":["xml","lexer","lex","sax","grammar","state machine"],"author":{"name":"Pedro Ladaria","email":"pedro.ladaria@gmail.com"},"license":"MIT","dependencies":{"eventemitter3":"^2.0.0"},"devDependencies":{"ava":"^0.16.0","babel-cli":"^6.14.0","babel-preset-es2015":"^6.14.0","nyc":"^8.3.0","opn-cli":"^3.1.0","rimraf":"^2.5.4"},"directories":{"test":"test"},"repository":{"type":"git","url":"git+https://github.com/pladaria/xml-lexer.git"},"bugs":{"url":"https://github.com/pladaria/xml-lexer/issues"},"homepage":"https://github.com/pladaria/xml-lexer#readme","gitHead":"a33b7594e24e273de43048a14c45efabbf07ce79","_id":"xml-lexer@0.2.2","_shasum":"518193a4aa334d58fc7d248b549079b89907e046","_from":".","_npmVersion":"3.10.2","_nodeVersion":"6.2.0","_npmUser":{"name":"pladaria","email":"pedro.ladaria@gmail.com"},"dist":{"shasum":"518193a4aa334d58fc7d248b549079b89907e046","size":4047,"noattachment":false,"key":"/xml-lexer/-/xml-lexer-0.2.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/xml-lexer/download/xml-lexer-0.2.2.tgz"},"maintainers":[{"name":"pladaria","email":""}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/xml-lexer-0.2.2.tgz_1474729268045_0.850554576376453"},"publish_time":1474729269803,"_hasShrinkwrap":false,"_cnpm_publish_time":1474729269803,"_cnpmcore_publish_time":"2021-12-16T22:36:26.555Z"},"0.2.1":{"name":"xml-lexer","version":"0.2.1","description":"XML Lexer","main":"dist/lexer.js","scripts":{"clean":"rimraf dist","prebuild":"npm run clean","build":"babel src --out-dir dist","pretest":"npm run build","test":"nyc ava test/test.js --verbose","prepublish":"npm test","report":"nyc report --reporter=html && opn coverage/index.html"},"keywords":["xml","lexer","lex","sax","grammar","state machine"],"author":{"name":"Pedro Ladaria","email":"pedro.ladaria@gmail.com"},"license":"MIT","dependencies":{"eventemitter3":"^1.2.0"},"devDependencies":{"ava":"^0.16.0","babel-cli":"^6.11.4","babel-preset-es2015":"^6.13.2","nyc":"^8.1.0","opn-cli":"^3.1.0","rimraf":"^2.5.4"},"directories":{"test":"test"},"repository":{"type":"git","url":"git+https://github.com/pladaria/xml-lexer.git"},"bugs":{"url":"https://github.com/pladaria/xml-lexer/issues"},"homepage":"https://github.com/pladaria/xml-lexer#readme","gitHead":"d56cbbe2b908807c5749c6acf57fd5c63bfc938f","_id":"xml-lexer@0.2.1","_shasum":"efda54b0ebc878f994b08cdb4c2e08622786aaa1","_from":".","_npmVersion":"3.10.5","_nodeVersion":"6.1.0","_npmUser":{"name":"pladaria","email":"pedro.ladaria@gmail.com"},"dist":{"shasum":"efda54b0ebc878f994b08cdb4c2e08622786aaa1","size":8475,"noattachment":false,"key":"/xml-lexer/-/xml-lexer-0.2.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/xml-lexer/download/xml-lexer-0.2.1.tgz"},"maintainers":[{"name":"pladaria","email":""}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/xml-lexer-0.2.1.tgz_1472475301601_0.5802816099021584"},"publish_time":1472475303430,"_hasShrinkwrap":false,"_cnpm_publish_time":1472475303430,"_cnpmcore_publish_time":"2021-12-16T22:36:26.765Z"},"0.2.0":{"name":"xml-lexer","version":"0.2.0","description":"XML Lexer","main":"dist/lexer.js","scripts":{"clean":"rimraf dist","prebuild":"npm run clean","build":"babel src --out-dir dist","pretest":"npm run build","test":"nyc ava test/test.js --verbose","prepublish":"npm test","report":"nyc report --reporter=html && opn coverage/index.html"},"keywords":["xml","lexer","lex","sax","grammar","state machine"],"author":{"name":"Pedro Ladaria","email":"pedro.ladaria@gmail.com"},"license":"MIT","dependencies":{"eventemitter3":"^1.2.0"},"devDependencies":{"ava":"^0.16.0","babel-cli":"^6.11.4","babel-preset-es2015":"^6.13.2","nyc":"^8.1.0","opn-cli":"^3.1.0","rimraf":"^2.5.4"},"directories":{"test":"test"},"repository":{"type":"git","url":"git+https://github.com/pladaria/xml-lexer.git"},"bugs":{"url":"https://github.com/pladaria/xml-lexer/issues"},"homepage":"https://github.com/pladaria/xml-lexer#readme","gitHead":"9fdb856610e6af19d9ba452b0a492dd178618dc0","_id":"xml-lexer@0.2.0","_shasum":"ca7a8e3fc3fba64661e6cafc945ea068b8368ed6","_from":".","_npmVersion":"3.10.2","_nodeVersion":"6.2.0","_npmUser":{"name":"pladaria","email":"pedro.ladaria@gmail.com"},"dist":{"shasum":"ca7a8e3fc3fba64661e6cafc945ea068b8368ed6","size":3957,"noattachment":false,"key":"/xml-lexer/-/xml-lexer-0.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/xml-lexer/download/xml-lexer-0.2.0.tgz"},"maintainers":[{"name":"pladaria","email":""}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/xml-lexer-0.2.0.tgz_1472334683222_0.9260047189891338"},"publish_time":1472334684229,"_hasShrinkwrap":false,"_cnpm_publish_time":1472334684229,"_cnpmcore_publish_time":"2021-12-16T22:36:26.979Z"},"0.1.0":{"name":"xml-lexer","version":"0.1.0","description":"XML Lexer","main":"dist/lexer.js","scripts":{"clean":"rimraf dist","prebuild":"npm run clean","build":"babel src --out-dir dist","pretest":"npm run build","test":"node test/test.js","prepublish":"npm test"},"keywords":["xml","lexer","lex","sax","grammar","state machine"],"author":{"name":"Pedro Ladaria","email":"pedro.ladaria@gmail.com"},"license":"MIT","dependencies":{"eventemitter3":"^1.2.0"},"devDependencies":{"babel-cli":"^6.11.4","babel-preset-es2015":"^6.13.2","rimraf":"^2.5.4","tape":"^4.5.1"},"directories":{"test":"test"},"repository":{"type":"git","url":"git+https://github.com/pladaria/xml-lexer.git"},"bugs":{"url":"https://github.com/pladaria/xml-lexer/issues"},"homepage":"https://github.com/pladaria/xml-lexer#readme","gitHead":"05635d6eba92c679e3583cfddf6e244aa4968d0c","_id":"xml-lexer@0.1.0","_shasum":"fdd85c94eacfa50f3ba14273495345ef07ce3ce2","_from":".","_npmVersion":"3.10.5","_nodeVersion":"6.1.0","_npmUser":{"name":"pladaria","email":"pedro.ladaria@gmail.com"},"dist":{"shasum":"fdd85c94eacfa50f3ba14273495345ef07ce3ce2","size":3890,"noattachment":false,"key":"/xml-lexer/-/xml-lexer-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/xml-lexer/download/xml-lexer-0.1.0.tgz"},"maintainers":[{"name":"pladaria","email":""}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/xml-lexer-0.1.0.tgz_1470988232513_0.19863079581409693"},"publish_time":1470988234402,"_hasShrinkwrap":false,"_cnpm_publish_time":1470988234402,"_cnpmcore_publish_time":"2021-12-16T22:36:27.197Z"},"0.0.17":{"name":"xml-lexer","version":"0.0.17","description":"XML Lexer","main":"index.js","scripts":{"test":"node test/test.js"},"keywords":["xml","lexer","lex","sax","grammar","state machine"],"author":{"name":"Pedro Ladaria","email":"pedro.ladaria@gmail.com"},"license":"MIT","dependencies":{"eventemitter3":"^1.2.0"},"devDependencies":{"tape":"^4.5.1"},"directories":{"test":"test"},"repository":{"type":"git","url":"git+https://github.com/pladaria/xml-lexer.git"},"bugs":{"url":"https://github.com/pladaria/xml-lexer/issues"},"homepage":"https://github.com/pladaria/xml-lexer#readme","gitHead":"e36199e491118355c5cd093de05360a39e4f2f78","_id":"xml-lexer@0.0.17","_shasum":"919cc09f8b691f8df294c8a772e20046cd76ce21","_from":".","_npmVersion":"3.3.12","_nodeVersion":"5.1.0","_npmUser":{"name":"pladaria","email":"pedro.ladaria@gmail.com"},"dist":{"shasum":"919cc09f8b691f8df294c8a772e20046cd76ce21","size":3574,"noattachment":false,"key":"/xml-lexer/-/xml-lexer-0.0.17.tgz","tarball":"http://registry.cnpm.dingdandao.com/xml-lexer/download/xml-lexer-0.0.17.tgz"},"maintainers":[{"name":"pladaria","email":""}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/xml-lexer-0.0.17.tgz_1459237821886_0.18557363306172192"},"publish_time":1459237822844,"_hasShrinkwrap":false,"_cnpm_publish_time":1459237822844,"_cnpmcore_publish_time":"2021-12-16T22:36:27.404Z"},"0.0.16":{"name":"xml-lexer","version":"0.0.16","description":"XML Lexer","main":"index.js","scripts":{"test":"node test/test.js"},"keywords":["xml","lexer","lex","sax","grammar","state machine"],"author":{"name":"Pedro Ladaria","email":"pedro.ladaria@gmail.com"},"license":"MIT","dependencies":{"eventemitter3":"^1.2.0"},"devDependencies":{"tape":"^4.5.1"},"directories":{"test":"test"},"repository":{"type":"git","url":"git+https://github.com/pladaria/xml-lexer.git"},"bugs":{"url":"https://github.com/pladaria/xml-lexer/issues"},"homepage":"https://github.com/pladaria/xml-lexer#readme","gitHead":"047b7459347595bbc63891f83a6756b998c928f4","_id":"xml-lexer@0.0.16","_shasum":"8188c2a9087569481b9f1f14673d3fd8178681e6","_from":".","_npmVersion":"3.7.3","_nodeVersion":"5.9.1","_npmUser":{"name":"pladaria","email":"pedro.ladaria@gmail.com"},"dist":{"shasum":"8188c2a9087569481b9f1f14673d3fd8178681e6","size":3657,"noattachment":false,"key":"/xml-lexer/-/xml-lexer-0.0.16.tgz","tarball":"http://registry.cnpm.dingdandao.com/xml-lexer/download/xml-lexer-0.0.16.tgz"},"maintainers":[{"name":"pladaria","email":""}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/xml-lexer-0.0.16.tgz_1459104680190_0.08521745190955698"},"publish_time":1459104682640,"_hasShrinkwrap":false,"_cnpm_publish_time":1459104682640,"_cnpmcore_publish_time":"2021-12-16T22:36:27.600Z"},"0.0.15":{"name":"xml-lexer","version":"0.0.15","description":"XML Lexer","main":"index.js","scripts":{"test":"node test/test.js"},"keywords":["xml","lexer","lex","sax","grammar","state machine"],"author":{"name":"Pedro Ladaria","email":"pedro.ladaria@gmail.com"},"license":"MIT","dependencies":{"eventemitter3":"^1.2.0"},"devDependencies":{"tape":"^4.5.1"},"directories":{"test":"test"},"repository":{"type":"git","url":"git+https://github.com/pladaria/xml-lexer.git"},"bugs":{"url":"https://github.com/pladaria/xml-lexer/issues"},"homepage":"https://github.com/pladaria/xml-lexer#readme","gitHead":"1097a1e1213ebb3debb0c675e7638fbc6f6a7af7","_id":"xml-lexer@0.0.15","_shasum":"74bd2347418b76e1b27bc9d93673d601525b850c","_from":".","_npmVersion":"3.7.3","_nodeVersion":"5.9.1","_npmUser":{"name":"pladaria","email":"pedro.ladaria@gmail.com"},"dist":{"shasum":"74bd2347418b76e1b27bc9d93673d601525b850c","size":3648,"noattachment":false,"key":"/xml-lexer/-/xml-lexer-0.0.15.tgz","tarball":"http://registry.cnpm.dingdandao.com/xml-lexer/download/xml-lexer-0.0.15.tgz"},"maintainers":[{"name":"pladaria","email":""}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/xml-lexer-0.0.15.tgz_1459091226870_0.5312155981082469"},"publish_time":1459091229615,"_hasShrinkwrap":false,"_cnpm_publish_time":1459091229615,"_cnpmcore_publish_time":"2021-12-16T22:36:27.808Z"},"0.0.14":{"name":"xml-lexer","version":"0.0.14","description":"XML Lexer","main":"index.js","scripts":{"test":"node test/test.js"},"keywords":["xml","lexer","lex","sax","grammar","state machine"],"author":{"name":"Pedro Ladaria","email":"pedro.ladaria@gmail.com"},"license":"MIT","dependencies":{"eventemitter3":"^1.2.0"},"devDependencies":{"tape":"^4.5.1"},"directories":{"test":"test"},"repository":{"type":"git","url":"git+https://github.com/pladaria/xml-lexer.git"},"bugs":{"url":"https://github.com/pladaria/xml-lexer/issues"},"homepage":"https://github.com/pladaria/xml-lexer#readme","gitHead":"333523033558bec9ac23424f48dfd9be93f0a528","_id":"xml-lexer@0.0.14","_shasum":"0cadc2558d5aaafdc745ae1e2a725e2c4f8d23b8","_from":".","_npmVersion":"3.7.3","_nodeVersion":"5.9.1","_npmUser":{"name":"pladaria","email":"pedro.ladaria@gmail.com"},"dist":{"shasum":"0cadc2558d5aaafdc745ae1e2a725e2c4f8d23b8","size":3544,"noattachment":false,"key":"/xml-lexer/-/xml-lexer-0.0.14.tgz","tarball":"http://registry.cnpm.dingdandao.com/xml-lexer/download/xml-lexer-0.0.14.tgz"},"maintainers":[{"name":"pladaria","email":""}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/xml-lexer-0.0.14.tgz_1459017604288_0.874231442110613"},"publish_time":1459017606921,"_hasShrinkwrap":false,"_cnpm_publish_time":1459017606921,"_cnpmcore_publish_time":"2021-12-16T22:36:28.081Z"},"0.0.13":{"name":"xml-lexer","version":"0.0.13","description":"XML Lexer","main":"index.js","scripts":{"test":"node test/test.js"},"keywords":["xml","lexer","lex","grammar","state machine"],"author":{"name":"Pedro Ladaria","email":"pedro.ladaria@gmail.com"},"license":"MIT","dependencies":{"eventemitter3":"^1.2.0"},"devDependencies":{"tape":"^4.5.1"},"directories":{"test":"test"},"repository":{"type":"git","url":"git+https://github.com/pladaria/xml-lexer.git"},"bugs":{"url":"https://github.com/pladaria/xml-lexer/issues"},"homepage":"https://github.com/pladaria/xml-lexer#readme","gitHead":"55c891bd48df59b5a540069243a3462597f6bd6a","_id":"xml-lexer@0.0.13","_shasum":"37debca2df949dff6ea8e64d907ddf21be16aef1","_from":".","_npmVersion":"3.7.3","_nodeVersion":"5.9.1","_npmUser":{"name":"pladaria","email":"pedro.ladaria@gmail.com"},"dist":{"shasum":"37debca2df949dff6ea8e64d907ddf21be16aef1","size":3466,"noattachment":false,"key":"/xml-lexer/-/xml-lexer-0.0.13.tgz","tarball":"http://registry.cnpm.dingdandao.com/xml-lexer/download/xml-lexer-0.0.13.tgz"},"maintainers":[{"name":"pladaria","email":""}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/xml-lexer-0.0.13.tgz_1459013708038_0.18676036526449025"},"publish_time":1459013709038,"_hasShrinkwrap":false,"_cnpm_publish_time":1459013709038,"_cnpmcore_publish_time":"2021-12-16T22:36:28.265Z"},"0.0.12":{"name":"xml-lexer","version":"0.0.12","description":"XML Lexer","main":"index.js","scripts":{"test":"node test/test.js"},"keywords":["xml","lexer","lex","grammar","state machine"],"author":{"name":"Pedro Ladaria","email":"pedro.ladaria@gmail.com"},"license":"MIT","dependencies":{"eventemitter3":"^1.2.0"},"devDependencies":{"tape":"^4.5.1"},"directories":{"test":"test"},"repository":{"type":"git","url":"git+https://github.com/pladaria/xml-lexer.git"},"bugs":{"url":"https://github.com/pladaria/xml-lexer/issues"},"homepage":"https://github.com/pladaria/xml-lexer#readme","gitHead":"d64eb96484904248958ac17630e690896f03776d","_id":"xml-lexer@0.0.12","_shasum":"fd9303f4a9e5acc7ef8e29c5a500f863965a526b","_from":".","_npmVersion":"3.7.3","_nodeVersion":"5.9.1","_npmUser":{"name":"pladaria","email":"pedro.ladaria@gmail.com"},"dist":{"shasum":"fd9303f4a9e5acc7ef8e29c5a500f863965a526b","size":3457,"noattachment":false,"key":"/xml-lexer/-/xml-lexer-0.0.12.tgz","tarball":"http://registry.cnpm.dingdandao.com/xml-lexer/download/xml-lexer-0.0.12.tgz"},"maintainers":[{"name":"pladaria","email":""}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/xml-lexer-0.0.12.tgz_1459012584115_0.3327134696301073"},"publish_time":1459012585041,"_hasShrinkwrap":false,"_cnpm_publish_time":1459012585041,"_cnpmcore_publish_time":"2021-12-16T22:36:28.465Z"},"0.0.11":{"name":"xml-lexer","version":"0.0.11","description":"XML Lexer","main":"index.js","scripts":{"test":"node test/test.js"},"keywords":["xml","lexer","lex","grammar","state machine"],"author":{"name":"Pedro Ladaria","email":"pedro.ladaria@gmail.com"},"license":"MIT","dependencies":{"eventemitter3":"^1.2.0"},"devDependencies":{"tape":"^4.5.1"},"directories":{"test":"test"},"repository":{"type":"git","url":"git+https://github.com/pladaria/xml-lexer.git"},"bugs":{"url":"https://github.com/pladaria/xml-lexer/issues"},"homepage":"https://github.com/pladaria/xml-lexer#readme","gitHead":"0bd0a801caac8d1ff210a7621dcdfe6ee4248642","_id":"xml-lexer@0.0.11","_shasum":"70807304d2da365138b4eb1ab3a94c6a3f9fa8db","_from":".","_npmVersion":"3.7.3","_nodeVersion":"5.9.1","_npmUser":{"name":"pladaria","email":"pedro.ladaria@gmail.com"},"dist":{"shasum":"70807304d2da365138b4eb1ab3a94c6a3f9fa8db","size":3440,"noattachment":false,"key":"/xml-lexer/-/xml-lexer-0.0.11.tgz","tarball":"http://registry.cnpm.dingdandao.com/xml-lexer/download/xml-lexer-0.0.11.tgz"},"maintainers":[{"name":"pladaria","email":""}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/xml-lexer-0.0.11.tgz_1459003068106_0.30951739428564906"},"publish_time":1459003070464,"_hasShrinkwrap":false,"_cnpm_publish_time":1459003070464,"_cnpmcore_publish_time":"2021-12-16T22:36:28.716Z"},"0.0.10":{"name":"xml-lexer","version":"0.0.10","description":"XML Lexer","main":"index.js","scripts":{"test":"node test/test.js"},"keywords":["xml","lexer","lex","grammar","state machine"],"author":{"name":"Pedro Ladaria","email":"pedro.ladaria@gmail.com"},"license":"MIT","dependencies":{"eventemitter3":"^1.2.0"},"devDependencies":{"tape":"^4.5.1"},"directories":{"test":"test"},"repository":{"type":"git","url":"git+https://github.com/pladaria/xml-lexer.git"},"bugs":{"url":"https://github.com/pladaria/xml-lexer/issues"},"homepage":"https://github.com/pladaria/xml-lexer#readme","gitHead":"8b8eb77a6089f3ef5da4b8ed57ee862e9abc177a","_id":"xml-lexer@0.0.10","_shasum":"07ceff17f819963a0b5f6d5c10d2b46d0645c193","_from":".","_npmVersion":"3.7.3","_nodeVersion":"5.9.1","_npmUser":{"name":"pladaria","email":"pedro.ladaria@gmail.com"},"dist":{"shasum":"07ceff17f819963a0b5f6d5c10d2b46d0645c193","size":3435,"noattachment":false,"key":"/xml-lexer/-/xml-lexer-0.0.10.tgz","tarball":"http://registry.cnpm.dingdandao.com/xml-lexer/download/xml-lexer-0.0.10.tgz"},"maintainers":[{"name":"pladaria","email":""}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/xml-lexer-0.0.10.tgz_1458998453162_0.4513360329438001"},"publish_time":1458998454054,"_hasShrinkwrap":false,"_cnpm_publish_time":1458998454054,"_cnpmcore_publish_time":"2021-12-16T22:36:28.969Z"},"0.0.9":{"name":"xml-lexer","version":"0.0.9","description":"XML Lexer","main":"index.js","scripts":{"test":"node test/test.js"},"keywords":["xml","lexer","lex","grammar","state machine"],"author":{"name":"Pedro Ladaria","email":"pedro.ladaria@gmail.com"},"license":"MIT","dependencies":{"eventemitter3":"^1.2.0"},"devDependencies":{"tape":"^4.5.1"},"directories":{"test":"test"},"repository":{"type":"git","url":"git+https://github.com/pladaria/xml-lexer.git"},"bugs":{"url":"https://github.com/pladaria/xml-lexer/issues"},"homepage":"https://github.com/pladaria/xml-lexer#readme","gitHead":"a7f97f2ea226d0ba7082dcfa94aca966cb48d370","_id":"xml-lexer@0.0.9","_shasum":"41715f3a292964582a8f13ad1eee80637a948cd2","_from":".","_npmVersion":"3.7.3","_nodeVersion":"5.9.1","_npmUser":{"name":"pladaria","email":"pedro.ladaria@gmail.com"},"dist":{"shasum":"41715f3a292964582a8f13ad1eee80637a948cd2","size":4203,"noattachment":false,"key":"/xml-lexer/-/xml-lexer-0.0.9.tgz","tarball":"http://registry.cnpm.dingdandao.com/xml-lexer/download/xml-lexer-0.0.9.tgz"},"maintainers":[{"name":"pladaria","email":""}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/xml-lexer-0.0.9.tgz_1458998370396_0.2202767904382199"},"publish_time":1458998372468,"_hasShrinkwrap":false,"_cnpm_publish_time":1458998372468,"_cnpmcore_publish_time":"2021-12-16T22:36:29.226Z"},"0.0.8":{"name":"xml-lexer","version":"0.0.8","description":"XML Lexer","main":"index.js","scripts":{"test":"node test/test.js"},"keywords":["xml","lexer","lex","grammar","state machine"],"author":{"name":"Pedro Ladaria","email":"pedro.ladaria@gmail.com"},"license":"MIT","dependencies":{"eventemitter3":"^1.2.0"},"devDependencies":{"tape":"^4.5.1"},"directories":{"test":"test"},"repository":{"type":"git","url":"git+https://github.com/pladaria/xml-lexer.git"},"bugs":{"url":"https://github.com/pladaria/xml-lexer/issues"},"homepage":"https://github.com/pladaria/xml-lexer#readme","gitHead":"c6a355cf659e2b452a540ad8d2f44d1e18ff940f","_id":"xml-lexer@0.0.8","_shasum":"97d913deee3116e78a6d80f819b2374befc6acc1","_from":".","_npmVersion":"3.7.3","_nodeVersion":"5.9.1","_npmUser":{"name":"pladaria","email":"pedro.ladaria@gmail.com"},"dist":{"shasum":"97d913deee3116e78a6d80f819b2374befc6acc1","size":4255,"noattachment":false,"key":"/xml-lexer/-/xml-lexer-0.0.8.tgz","tarball":"http://registry.cnpm.dingdandao.com/xml-lexer/download/xml-lexer-0.0.8.tgz"},"maintainers":[{"name":"pladaria","email":""}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/xml-lexer-0.0.8.tgz_1458998131029_0.565670441603288"},"publish_time":1458998133371,"_hasShrinkwrap":false,"_cnpm_publish_time":1458998133371,"_cnpmcore_publish_time":"2021-12-16T22:36:29.432Z"},"0.0.7":{"name":"xml-lexer","version":"0.0.7","description":"XML Lexer","main":"index.js","scripts":{"test":"node test/test.js"},"keywords":["xml","lexer","lex","grammar","state machine"],"author":{"name":"Pedro Ladaria","email":"pedro.ladaria@gmail.com"},"license":"MIT","dependencies":{},"devDependencies":{"tape":"^4.5.1"},"directories":{"test":"test"},"repository":{"type":"git","url":"git+https://github.com/pladaria/xml-lexer.git"},"bugs":{"url":"https://github.com/pladaria/xml-lexer/issues"},"homepage":"https://github.com/pladaria/xml-lexer#readme","gitHead":"c0e06b061b15a3db9f933237d5d55f077164b7aa","_id":"xml-lexer@0.0.7","_shasum":"7e0f987ab6e85474288f80bd863913afb31cbf75","_from":".","_npmVersion":"3.7.3","_nodeVersion":"5.9.1","_npmUser":{"name":"pladaria","email":"pedro.ladaria@gmail.com"},"dist":{"shasum":"7e0f987ab6e85474288f80bd863913afb31cbf75","size":4527,"noattachment":false,"key":"/xml-lexer/-/xml-lexer-0.0.7.tgz","tarball":"http://registry.cnpm.dingdandao.com/xml-lexer/download/xml-lexer-0.0.7.tgz"},"maintainers":[{"name":"pladaria","email":""}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/xml-lexer-0.0.7.tgz_1458997557129_0.9001438219565898"},"publish_time":1458997559468,"_hasShrinkwrap":false,"_cnpm_publish_time":1458997559468,"_cnpmcore_publish_time":"2021-12-16T22:36:29.925Z"},"0.0.6":{"name":"xml-lexer","version":"0.0.6","description":"XML Lexer","main":"index.js","scripts":{"test":"node test/test.js"},"keywords":["xml","lexer","lex","grammar","state machine"],"author":{"name":"Pedro Ladaria","email":"pedro.ladaria@gmail.com"},"license":"MIT","dependencies":{},"devDependencies":{"tape":"^4.5.1"},"directories":{"test":"test"},"repository":{"type":"git","url":"git+https://github.com/pladaria/xml-lexer.git"},"bugs":{"url":"https://github.com/pladaria/xml-lexer/issues"},"homepage":"https://github.com/pladaria/xml-lexer#readme","gitHead":"47fe6e7ebb12b4ab6af38291425cf3689334c0c3","_id":"xml-lexer@0.0.6","_shasum":"cd069fb927a8dfb478d15c835ef61abb338c40c3","_from":".","_npmVersion":"3.7.3","_nodeVersion":"5.9.1","_npmUser":{"name":"pladaria","email":"pedro.ladaria@gmail.com"},"dist":{"shasum":"cd069fb927a8dfb478d15c835ef61abb338c40c3","size":4525,"noattachment":false,"key":"/xml-lexer/-/xml-lexer-0.0.6.tgz","tarball":"http://registry.cnpm.dingdandao.com/xml-lexer/download/xml-lexer-0.0.6.tgz"},"maintainers":[{"name":"pladaria","email":""}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/xml-lexer-0.0.6.tgz_1458996925923_0.5313509067054838"},"publish_time":1458996928244,"_hasShrinkwrap":false,"_cnpm_publish_time":1458996928244,"_cnpmcore_publish_time":"2021-12-16T22:36:30.157Z"},"0.0.5":{"name":"xml-lexer","version":"0.0.5","description":"XML Lexer","main":"index.js","scripts":{"test":"node test/test.js"},"keywords":["xml","lexer","lex","grammar","state machine"],"author":{"name":"Pedro Ladaria","email":"pedro.ladaria@gmail.com"},"license":"MIT","dependencies":{},"devDependencies":{"tape":"^4.5.1"},"directories":{"test":"test"},"repository":{"type":"git","url":"git+https://github.com/pladaria/xml-lexer.git"},"bugs":{"url":"https://github.com/pladaria/xml-lexer/issues"},"homepage":"https://github.com/pladaria/xml-lexer#readme","gitHead":"e7074ecf8d1597261eacf066631a3594ddff6eeb","_id":"xml-lexer@0.0.5","_shasum":"6c4d7d8b3dd407a223d17bf19d565c4e5a34d555","_from":".","_npmVersion":"3.7.3","_nodeVersion":"5.9.1","_npmUser":{"name":"pladaria","email":"pedro.ladaria@gmail.com"},"dist":{"shasum":"6c4d7d8b3dd407a223d17bf19d565c4e5a34d555","size":4625,"noattachment":false,"key":"/xml-lexer/-/xml-lexer-0.0.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/xml-lexer/download/xml-lexer-0.0.5.tgz"},"maintainers":[{"name":"pladaria","email":""}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/xml-lexer-0.0.5.tgz_1458995035683_0.11850622156634927"},"publish_time":1458995036714,"_hasShrinkwrap":false,"_cnpm_publish_time":1458995036714,"_cnpmcore_publish_time":"2021-12-16T22:36:30.364Z"},"0.0.4":{"name":"xml-lexer","version":"0.0.4","description":"XML Lexer","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"keywords":["xml","lexer","lex","grammar"],"author":{"name":"Pedro Ladaria","email":"pedro.ladaria@gmail.com"},"license":"MIT","dependencies":{"lodash.noop":"^3.0.1"},"devDependencies":{},"gitHead":"a82b852e1e16368d86855437d0aef150c5457afa","_id":"xml-lexer@0.0.4","_shasum":"d59710e88e7f2c6d3f1f011bde2042e06622f0a6","_from":".","_npmVersion":"3.7.3","_nodeVersion":"5.9.1","_npmUser":{"name":"pladaria","email":"pedro.ladaria@gmail.com"},"dist":{"shasum":"d59710e88e7f2c6d3f1f011bde2042e06622f0a6","size":4027,"noattachment":false,"key":"/xml-lexer/-/xml-lexer-0.0.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/xml-lexer/download/xml-lexer-0.0.4.tgz"},"maintainers":[{"name":"pladaria","email":""}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/xml-lexer-0.0.4.tgz_1458911596422_0.6408255342394114"},"directories":{},"publish_time":1458911598674,"_hasShrinkwrap":false,"_cnpm_publish_time":1458911598674,"_cnpmcore_publish_time":"2021-12-16T22:36:30.572Z"},"0.0.3":{"name":"xml-lexer","version":"0.0.3","description":"XML Lexer","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"keywords":["xml","lexer","lex","grammar"],"author":{"name":"Pedro Ladaria","email":"pedro.ladaria@gmail.com"},"license":"MIT","dependencies":{"lodash.noop":"^3.0.1","tape":"^4.5.1"},"devDependencies":{},"gitHead":"03508debb30a7ba6ad13feb739d04e19fb36c1f3","_id":"xml-lexer@0.0.3","_shasum":"e7bf523304615617da820ab851d7ec6cf72c2b2e","_from":".","_npmVersion":"3.7.3","_nodeVersion":"5.9.1","_npmUser":{"name":"pladaria","email":"pedro.ladaria@gmail.com"},"dist":{"shasum":"e7bf523304615617da820ab851d7ec6cf72c2b2e","size":3996,"noattachment":false,"key":"/xml-lexer/-/xml-lexer-0.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/xml-lexer/download/xml-lexer-0.0.3.tgz"},"maintainers":[{"name":"pladaria","email":""}],"_npmOperationalInternal":{"host":"packages-13-west.internal.npmjs.com","tmp":"tmp/xml-lexer-0.0.3.tgz_1458907083976_0.3323068842291832"},"directories":{},"publish_time":1458907086218,"_hasShrinkwrap":false,"_cnpm_publish_time":1458907086218,"_cnpmcore_publish_time":"2021-12-16T22:36:30.842Z"},"0.0.2":{"name":"xml-lexer","version":"0.0.2","description":"XML Lexer","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"keywords":["xml","lexer","lex","grammar"],"author":{"name":"Pedro Ladaria","email":"pedro.ladaria@gmail.com"},"license":"MIT","dependencies":{"lodash.noop":"^3.0.1","tape":"^4.5.1"},"devDependencies":{},"gitHead":"7c391b6cffb2fba5e997c75c9f63b6452019428a","_id":"xml-lexer@0.0.2","_shasum":"0c65be7e4ab017715ff593b503ce3a906e3ae110","_from":".","_npmVersion":"3.7.3","_nodeVersion":"5.9.1","_npmUser":{"name":"pladaria","email":"pedro.ladaria@gmail.com"},"dist":{"shasum":"0c65be7e4ab017715ff593b503ce3a906e3ae110","size":4005,"noattachment":false,"key":"/xml-lexer/-/xml-lexer-0.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/xml-lexer/download/xml-lexer-0.0.2.tgz"},"maintainers":[{"name":"pladaria","email":""}],"_npmOperationalInternal":{"host":"packages-13-west.internal.npmjs.com","tmp":"tmp/xml-lexer-0.0.2.tgz_1458906807111_0.3503638659603894"},"directories":{},"publish_time":1458906809437,"_hasShrinkwrap":false,"_cnpm_publish_time":1458906809437,"_cnpmcore_publish_time":"2021-12-16T22:36:31.066Z"},"0.0.1":{"name":"xml-lexer","version":"0.0.1","description":"XML Lexer","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"keywords":["xml","lexer","lex","grammar"],"author":{"name":"Pedro Ladaria","email":"pedro.ladaria@gmail.com"},"license":"MIT","dependencies":{"lodash.noop":"^3.0.1","tape":"^4.5.1"},"gitHead":"f4698dea79bb6562e983fa79a3a1bdd6f62e4c7a","_id":"xml-lexer@0.0.1","_shasum":"35f167b5dafeddd0ad6182bb33c11e27c0fd83c1","_from":".","_npmVersion":"3.7.3","_nodeVersion":"5.9.1","_npmUser":{"name":"pladaria","email":"pedro.ladaria@gmail.com"},"dist":{"shasum":"35f167b5dafeddd0ad6182bb33c11e27c0fd83c1","size":3800,"noattachment":false,"key":"/xml-lexer/-/xml-lexer-0.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/xml-lexer/download/xml-lexer-0.0.1.tgz"},"maintainers":[{"name":"pladaria","email":""}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/xml-lexer-0.0.1.tgz_1458902594173_0.4027886351104826"},"directories":{},"publish_time":1458902596522,"_hasShrinkwrap":false,"_cnpm_publish_time":1458902596522,"_cnpmcore_publish_time":"2021-12-16T22:36:31.261Z"}},"readme":"<p align=\"center\">\n  <img src=\"https://raw.githubusercontent.com/pladaria/xml-lexer/master/logo.png\" alt=\"XML-Lexer\"/>\n</p>\n<p align=\"center\">\n  Simple JavaScript Lexer for XML documents\n</p>\n\n## Features\n- Very small, fast and simple! (~250 sloc)\n- Event driven API (SAX-like)\n- Works in Browser, WebWorkers, ServiceWorkers, Node.js or React Native\n- Fault tolerant\n- Handles CDATA\n- Easy to extend and fine tune (state machine is exposed in Lexer instances)\n\nIf you are looking for a [XML Reader/Parser to convert XML documents into Javascript objects](https://github.com/pladaria/xml-reader), check my other projects:\n- [xml-reader](https://github.com/pladaria/xml-reader)\n- [xml-query](https://github.com/pladaria/xml-query)\n\n## Install\n\n```bash\nnpm install --save xml-lexer\n```\n\n## Examples\n\n### Happy case\n\n```javascript\nconst lexer = require('xml-lexer').create();\n\nconst xml =\n`<hello color=\"blue\">\n  <greeting>Hello, world!</greeting>\n</hello>`;\n\nlexer.on('data', (data) => console.log(data));\nlexer.write(xml);\n\n/*\nConsole output:\n\n{ type: 'open-tag', value: 'hello' }\n{ type: 'attribute-name', value: 'color' }\n{ type: 'attribute-value', value: 'blue' }\n{ type: 'open-tag', value: 'greeting' }\n{ type: 'data', value: 'Hello, world!' }\n{ type: 'close-tag', value: 'greeting' }\n{ type: 'close-tag', value: 'hello' }\n*/\n```\n### Chunked processing\n\n```javascript\nconst lexer = require('xml-lexer').create();\n\nconst chunk1 = `<hello><greet`; // note this\nconst chunk2 = `ing>Hello, world!</greeting></hello>`;\n\nlexer.on('data', (data) => console.log(data));\nlexer.write(chunk1);\nlexer.write(chunk2);\n\n/*\nConsole output:\n\n{ type: 'open-tag', value: 'hello' }\n{ type: 'open-tag', value: 'greeting' }\n{ type: 'data', value: 'Hello, world!' }\n{ type: 'close-tag', value: 'greeting' }\n{ type: 'close-tag', value: 'hello' }\n*/\n```\n\n### Document with errors\n\n```javascript\nconst lexer = require('xml-lexer').create();\n\nlexer.on('data', (data) => console.log(data));\nlexer.write(`<<hello\">hi</hello attr=\"value\">`);\n\n/*\nConsole output (note the open-tag value):\n\n{ type: 'open-tag', value: '<hello\"' }\n{ type: 'data', value: 'hi' }\n{ type: 'close-tag', value: 'hello' }\n*/\n```\n\n### Update state machine to fix document errors\n\n```javascript\nconst Lexer = require('xml-lexer');\nconst lexer = Lexer.create();\n\nlexer.stateMachine[Lexer.State.tagBegin][Lexer.Action.lt] = () => {};\nlexer.stateMachine[Lexer.State.tagName][Lexer.Action.error] = () => {};\n\nlexer.on('data', (data) => console.log(data));\nlexer.write(`<<hello\">hi</hello attr=\"value\">`);\n\n/*\nConsole output (note the fixed open-tag value):\n\n{ type: 'open-tag', value: 'hello' }\n{ type: 'data', value: 'hi' }\n{ type: 'close-tag', value: 'hello' }\n*/\n```\n\n## License\n\nMIT\n","_attachments":{},"homepage":"https://github.com/pladaria/xml-lexer#readme","bugs":{"url":"https://github.com/pladaria/xml-lexer/issues"},"license":"MIT"}